Commit 01f235bc 01f235bcc9d3799c129d9a10de64a10f6f6b00b6 by Sam Roberts

Not all systems have <sys/fcntl.h>, changed to use HAVE_FCNTL_H.

1 parent 99f11b70
...@@ -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 */
......