Conditionally include fcntl.h.
This commit is contained in:
parent
a33c19b172
commit
f0e8db05af
1 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,10 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef HAVE_FCNTL
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue