fcntl.h now requires sys/types.h

This commit is contained in:
ceriel 1991-03-18 09:16:00 +00:00
parent 9155b8a68a
commit a61ee10532

View file

@ -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