diff options
Diffstat (limited to 'src/tools/lcc/etc/lcc.c')
-rw-r--r-- | src/tools/lcc/etc/lcc.c | 5 |
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" |