From 2015290cb47a804e098a0bf44d349955e453c23a Mon Sep 17 00:00:00 2001 From: "E. Westbrook" Date: Wed, 27 Feb 2019 20:57:34 -0700 Subject: luasocket: include centralization --- src/luasocket.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/luasocket.h') diff --git a/src/luasocket.h b/src/luasocket.h index 0121a15..d22b1be 100644 --- a/src/luasocket.h +++ b/src/luasocket.h @@ -6,9 +6,8 @@ * Diego Nehab * 9/11/1999 \*=========================================================================*/ -#include "lua.h" -/*-------------------------------------------------------------------------*\ +/*-------------------------------------------------------------------------* \ * Current socket library version \*-------------------------------------------------------------------------*/ #define LUASOCKET_VERSION "LuaSocket 3.0-rc1" @@ -25,13 +24,9 @@ #endif #endif -#ifndef LUASOCKET_PRIVATE -#ifdef _WIN32 -#define LUASOCKET_PRIVATE -#else -#define LUASOCKET_PRIVATE __attribute__ ((visibility ("hidden"))) -#endif -#endif +#include "lua.h" +#include "lauxlib.h" +#include "compat.h" /*-------------------------------------------------------------------------*\ * Initializes the library. -- cgit v1.2.3-55-g6feb