git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5e3c77
)
Fix socket_wrapper build for 3.0.x.
author
Jeremy Allison
<jra@samba.org>
Mon, 17 Dec 2007 23:09:59 +0000
(15:09 -0800)
committer
Jeremy Allison
<jra@samba.org>
Mon, 17 Dec 2007 23:09:59 +0000
(15:09 -0800)
Jeremy.
source/lib/replace/system/network.h
patch
|
blob
|
history
diff --git
a/source/lib/replace/system/network.h
b/source/lib/replace/system/network.h
index 4d9e9fdc2e9b3721213e5df9e23c478671aa3275..94ec132a2ee778de446313bffcb55ba48968f18f 100644
(file)
--- a/
source/lib/replace/system/network.h
+++ b/
source/lib/replace/system/network.h
@@
-74,6
+74,10
@@
#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
@@
-81,10
+85,6
@@
#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