summary refs log tree commit diff stats
path: root/plugins/lua
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-12-11 18:04:35 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-12-11 18:04:35 +0100
commit13ee029364b37eca95c43641420e75c872b32653 (patch)
treeef13e150cc5d2e15d4c879af644d9ba242c9c182 /plugins/lua
parent132ef6cb50201cb6ab8ab0609a88ccce62aa6a21 (diff)
some more multiplatform support
Diffstat (limited to 'plugins/lua')
-rw-r--r--plugins/lua/lua.c2
-rw-r--r--plugins/lua/makefile.mak2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/lua/lua.c b/plugins/lua/lua.c
index 9574fd4d..9f29bf08 100644
--- a/plugins/lua/lua.c
+++ b/plugins/lua/lua.c
@@ -43,12 +43,12 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include "../../src/common/dirent.h"
 #include <errno.h>
 #include <ctype.h>
 
 #ifdef _WIN32
 #include <direct.h>	/* for getcwd */
+#include "../../src/common/dirent-win32.h"
 #endif
 
 #if !( defined(_WIN32) || defined(LXC_XCHAT_GETTEXT) )
diff --git a/plugins/lua/makefile.mak b/plugins/lua/makefile.mak
index fbc94072..97a7e10b 100644
--- a/plugins/lua/makefile.mak
+++ b/plugins/lua/makefile.mak
@@ -1,6 +1,6 @@
 include "..\..\src\makeinc.mak"

 

-DIRENTLIB = ..\..\src\common\dirent.lib

+DIRENTLIB = ..\..\src\common\dirent-win32.lib

 

 all: lua.obj lua.def

 	link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll $(LUALIB).lib $(DIRENTLIB) /def:lua.def lua.obj