]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
portability adjustment
authorHarlan Stenn <stenn@ntp.org>
Fri, 7 Jan 2011 09:16:46 +0000 (04:16 -0500)
committerHarlan Stenn <stenn@ntp.org>
Fri, 7 Jan 2011 09:16:46 +0000 (04:16 -0500)
bk: 4d26d9fewrYZLXm6DthOzWBn-sWx8w

include/ntp_io.h

index 1cedd8d4caddc05432180c5caab43589b95267ee..c76e52bcf2099898f5ad5fe8f440d3696eb68fb7 100644 (file)
@@ -2,7 +2,6 @@
 #define NTP_IO_H
 
 #include "ntp_workimpl.h"
-#include "libntp.h"
 
 /*
  * POSIX says use <fnct.h> to get O_* symbols and 
@@ -39,6 +38,8 @@
 # include <netinet/ip.h>
 #endif
 
+#include "libntp.h"    /* This needs Something above for GETDTABLESIZE */
+
 /*
  * Define FNDELAY and FASYNC using O_NONBLOCK and O_ASYNC if we need
  * to (and can).  This is here initially for QNX, but may help for