tunistd.h no longer included on systems that don't have it - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 24bd06228b7e6ede4986da4ee503ed71a6ed18fd
(DIR) parent 2c7ebfd84293a581f8d5c2a11b6b7f8b49c97be6
(HTM) Author: Ben Webb <ben@salilab.org>
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(-)
---
(DIR) 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>
(DIR) 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>