fcntl.h now requires sys/types.h
This commit is contained in:
parent
9155b8a68a
commit
a61ee10532
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue