diff src/file-io.cc @ 1343:94bedeb289e5

[project @ 1995-09-04 00:29:21 by jwe]
author jwe
date Mon, 04 Sep 1995 00:42:19 +0000
parents e1dbc5585afd
children 5f63d83dd694
line wrap: on
line diff
--- a/src/file-io.cc
+++ b/src/file-io.cc
@@ -33,16 +33,20 @@
 #include <config.h>
 #endif
 
+#include <cstring>
+#include <cstdio>
+#include <cerrno>
+#include <cstdlib>
+#include <cctype>
+
 #include <sys/types.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
-#include <string.h>
-#include <stdio.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <strstream.h>
+#endif
 #include <sys/wait.h>
 #include <fcntl.h>
-#include <ctype.h>
+
+#include <strstream.h>
 
 #include <DLList.h>