summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>1999-08-30 02:14:36 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>1999-08-30 02:14:36 +0000
commit681b9005909f9f988aa8f8eb4bf66a9c96ce168f (patch)
tree2bf7b9ffa75fcc088fb46ea7646444813ef19751
parenta18bcd0e5fd60d285d78466ca436eab3e62ba9e1 (diff)
downloadguile-681b9005909f9f988aa8f8eb4bf66a9c96ce168f.tar.gz
* gdbint.c, strports.c: #include <unistd.h>. (SEEK_SET is defined
there on sunos4.1.4.)
-rw-r--r--libguile/gdbint.c7
-rw-r--r--libguile/strports.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/libguile/gdbint.c b/libguile/gdbint.c
index d1b164f63..e2f429c8d 100644
--- a/libguile/gdbint.c
+++ b/libguile/gdbint.c
@@ -43,8 +43,13 @@
* 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"
diff --git a/libguile/strports.c b/libguile/strports.c
index 93a3edb87..4ea718f23 100644
--- a/libguile/strports.c
+++ b/libguile/strports.c
@@ -40,8 +40,13 @@
* If you do not wish that, delete this exception notice. */
-#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"