summary refs log tree commit diff stats
path: root/plugins/lua
diff options
context:
space:
mode:
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