summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPan7 <panter@gmx.net>2014-12-26 23:33:52 +0100
committerTim Angus <tim@ngus.net>2015-03-17 11:39:03 +0000
commit5443cb7ed3a0d4ebe02f955e33e2eba0385ae305 (patch)
treed0186996fd7b6e4f5337d547b87750e2feabe2e1
parentbb2c3899b2d118dbffaa202b827266ba8db5d723 (diff)
Windows header files for q3lcc
-rw-r--r--src/tools/lcc/etc/lcc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/lcc/etc/lcc.c b/src/tools/lcc/etc/lcc.c
index 8595f2b0..aa3e7894 100644
--- a/src/tools/lcc/etc/lcc.c
+++ b/src/tools/lcc/etc/lcc.c
@@ -11,7 +11,12 @@ static char rcsid[] = "Id: dummy rcsid";
#include <assert.h>
#include <ctype.h>
#include <signal.h>
+#ifdef WIN32
+#include <process.h> /* getpid() */
+#include <io.h> /* access() */
+#else
#include <unistd.h>
+#endif
#ifndef TEMPDIR
#define TEMPDIR "/tmp"