Fix socket_wrapper build for 3.0.x.
authorJeremy Allison <jra@samba.org>
Mon, 17 Dec 2007 23:09:59 +0000 (15:09 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 17 Dec 2007 23:09:59 +0000 (15:09 -0800)
Jeremy.

source/lib/replace/system/network.h

index 4d9e9fdc2e9b3721213e5df9e23c478671aa3275..94ec132a2ee778de446313bffcb55ba48968f18f 100644 (file)
 #include <sys/ioctl.h>
 #endif
 
+#ifdef HAVE_STROPTS_H
+#include <stropts.h>
+#endif
+
 #ifdef SOCKET_WRAPPER
 #ifndef SOCKET_WRAPPER_NOT_REPLACE
 #define SOCKET_WRAPPER_REPLACE
 #include "lib/socket_wrapper/socket_wrapper.h"
 #endif
 
-#ifdef HAVE_STROPTS_H
-#include <stropts.h>
-#endif
-
 #ifdef REPLACE_INET_NTOA
 char *rep_inet_ntoa(struct in_addr ip);
 #define inet_ntoa rep_inet_ntoa