Not all systems have <sys/fcntl.h>, changed to use HAVE_FCNTL_H.
Showing
1 changed file
with
6 additions
and
1 deletions
... | @@ -22,7 +22,12 @@ | ... | @@ -22,7 +22,12 @@ |
22 | # include <termios.h> | 22 | # include <termios.h> |
23 | #endif | 23 | #endif |
24 | #include <sys/ioctl.h> | 24 | #include <sys/ioctl.h> |
25 | #include <sys/fcntl.h> | 25 | |
26 | #ifdef HAVE_FCNTL_H | ||
27 | # include <fcntl.h> | ||
28 | #else | ||
29 | # include <sys/fcntl.h> | ||
30 | #endif | ||
26 | 31 | ||
27 | typedef struct _node { | 32 | typedef struct _node { |
28 | /* for the msglist expander */ | 33 | /* for the msglist expander */ | ... | ... |
-
Please register or sign in to post a comment