fcntl.h now requires sys/types.h
This commit is contained in:
parent
b4da32804f
commit
299ba20dd2
@ -117,6 +117,8 @@ static int timeout();
|
|||||||
int chan_any(c) register chan *c;
|
int chan_any(c) register chan *c;
|
||||||
{
|
{
|
||||||
#ifdef __BSD4_2
|
#ifdef __BSD4_2
|
||||||
|
/* Sigh ... since SunOs 4.1, fcntl.h requires sys/types.h. */
|
||||||
|
#include <sys/types.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#ifndef O_NDELAY
|
#ifndef O_NDELAY
|
||||||
#define O_NDELAY FNDELAY
|
#define O_NDELAY FNDELAY
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user