diff liboctave/sysdir.h @ 2443:4d941ba99862

[project @ 1996-10-30 18:51:26 by jwe]
author jwe
date Wed, 30 Oct 1996 18:51:27 +0000
parents 1b57120c997b
children 8b262e771614
line wrap: on
line diff
--- a/liboctave/sysdir.h
+++ b/liboctave/sysdir.h
@@ -28,7 +28,9 @@
 // unistd.h defines _POSIX_VERSION on POSIX.1 systems.
 
 #ifdef HAVE_UNISTD_H
+#ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
+#endif
 #include <unistd.h>
 #endif