public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9155b8a
)
fcntl.h now requires sys/types.h
author
ceriel
<none@none>
Mon, 18 Mar 1991 09:16:00 +0000
(09:16 +0000)
committer
ceriel
<none@none>
Mon, 18 Mar 1991 09:16:00 +0000
(09:16 +0000)
lang/occam/lib/channel.c
patch
|
blob
|
history
diff --git
a/lang/occam/lib/channel.c
b/lang/occam/lib/channel.c
index
a9bec78
..
fc92b19
100644
(file)
--- a/
lang/occam/lib/channel.c
+++ b/
lang/occam/lib/channel.c
@@
-117,6
+117,8
@@
static int timeout();
int chan_any(c) register chan *c;
{
#ifdef __BSD4_2
+/* Sigh ... since SunOs 4.1, fcntl.h requires sys/types.h. */
+#include <sys/types.h>
#include <fcntl.h>
#ifndef O_NDELAY
#define O_NDELAY FNDELAY