* gdbint.c, strports.c: #include <unistd.h>. (SEEK_SET is defined
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Mon, 30 Aug 1999 02:14:36 +0000 (02:14 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Mon, 30 Aug 1999 02:14:36 +0000 (02:14 +0000)
there on sunos4.1.4.)

libguile/gdbint.c
libguile/strports.c

index d1b164f..e2f429c 100644 (file)
  * The author can be reached at djurfeldt@nada.kth.se
  * Mikael Djurfeldt, SANS/NADA KTH, 10044 STOCKHOLM, SWEDEN */
 
-#include <stdio.h>
 #include "_scm.h"
+
+#include <stdio.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #include "tag.h"
 #include "strports.h"
 #include "read.h"
index 93a3edb..4ea718f 100644 (file)
  * If you do not wish that, delete this exception notice.  */
 \f
 
-#include <stdio.h>
 #include "_scm.h"
+
+#include <stdio.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #include "unif.h"
 #include "eval.h"
 #include "read.h"