From: ceriel Date: Mon, 18 Mar 1991 09:16:00 +0000 (+0000) Subject: fcntl.h now requires sys/types.h X-Git-Tag: release-5-5~1178 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a61ee10532c33fa857b7ba259ff15efce1340400;p=ack.git fcntl.h now requires sys/types.h --- diff --git a/lang/occam/lib/channel.c b/lang/occam/lib/channel.c index a9bec781d..fc92b1990 100644 --- 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 #include #ifndef O_NDELAY #define O_NDELAY FNDELAY