Pārlūkot izejas kodu

Added a header guard for luasocket's lua.h wrapper

Alex Szpakowski 11 gadi atpakaļ
vecāks
revīzija
0e28a9d01b
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      src/libraries/luasocket/libluasocket/lua.h

+ 5 - 0
src/libraries/luasocket/libluasocket/lua.h

@@ -1,3 +1,6 @@
+#ifndef LUA_WRAP_H
+#define LUA_WRAP_H
+
 #define LUA_COMPAT_ALL
 #include <lua.h>
 #include <lualib.h>
@@ -10,3 +13,5 @@
 
 extern int luax_typerror(lua_State *L, int narg, const char *type);
 #endif
+
+#endif // LUA_WRAP_H