From 16b0026e27d4c77fc5e723d52b811ebc23dddc0c Mon Sep 17 00:00:00 2001 From: "E. Westbrook" Date: Mon, 25 Feb 2019 15:56:28 -0700 Subject: [PATCH] unix.c: use LUASOCKET_API --- src/unix.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/unix.c b/src/unix.c index dbc8710..c618a20 100644 --- a/src/unix.c +++ b/src/unix.c @@ -2,6 +2,8 @@ * Unix domain socket * LuaSocket toolkit \*=========================================================================*/ +#include "luasocket.h" + #include "lua.h" #include "lauxlib.h" @@ -45,7 +47,7 @@ static int compat_socket_unix_call(lua_State *L) /*-------------------------------------------------------------------------*\ * Initializes module \*-------------------------------------------------------------------------*/ -int luaopen_socket_unix(lua_State *L) +LUASOCKET_API int luaopen_socket_unix(lua_State *L) { int i; lua_newtable(L);