fcntl.h now requires sys/types.h
This commit is contained in:
parent
9155b8a68a
commit
a61ee10532
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue