Bläddra i källkod

fix: rotable.h/rotable.c引用lua.h的时候应该用双引号

Wendal Chen 5 år sedan
förälder
incheckning
527001bb2e
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      lua/include/rotable.h
  2. 1 1
      lua/src/rotable.c

+ 1 - 1
lua/include/rotable.h

@@ -1,7 +1,7 @@
 #ifndef ROTABLE_H_
 #define ROTABLE_H_
 
-#include <lua.h>
+#include "lua.h"
 
 /* exactly the same as luaL_Reg, but since we are on small embedded
  * microcontrollers, we don't assume that you have `lauxlib.h`

+ 1 - 1
lua/src/rotable.c

@@ -8,7 +8,7 @@
 #include <stddef.h>
 #include <string.h>
 #include <stdlib.h>
-#include <lua.h>
+#include "lua.h"
 #include "rotable.h"