tunistd.h no longer included on systems that don't have it - vaccinewars - be a… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 24bd06228b7e6ede4986da4ee503ed71a6ed18fd | |
parent 2c7ebfd84293a581f8d5c2a11b6b7f8b49c97be6 | |
Author: Ben Webb <[email protected]> | |
Date: Tue, 7 Aug 2001 17:06:26 +0000 | |
unistd.h no longer included on systems that don't have it | |
Diffstat: | |
M src/AIPlayer.c | 2 ++ | |
M src/curses_client.c | 2 ++ | |
2 files changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/src/AIPlayer.c b/src/AIPlayer.c | |
t@@ -21,7 +21,9 @@ | |
#include <stdio.h> | |
#include <string.h> | |
+#ifdef HAVE_UNISTD_H | |
#include <unistd.h> | |
+#endif | |
#include <stdlib.h> | |
#include <sys/types.h> | |
#include <errno.h> | |
diff --git a/src/curses_client.c b/src/curses_client.c | |
t@@ -27,7 +27,9 @@ | |
#include <string.h> | |
#include <stdlib.h> | |
#include <sys/types.h> | |
+#ifdef HAVE_UNISTD_H | |
#include <unistd.h> | |
+#endif | |
#include <ctype.h> | |
#include <signal.h> | |
#include <errno.h> |