git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f05a1
)
Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.
author
Michael Adam
<obnox@samba.org>
Tue, 26 Feb 2008 10:18:51 +0000
(11:18 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 26 Feb 2008 10:55:39 +0000
(11:55 +0100)
Michael
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 d09e3f71f8d5b3511484edbb3fbbcde546cb0133..a84b22e5d086ffc18345c6652f9074e125e48dd7 100644
(file)
--- a/
source/lib/replace/system/network.h
+++ b/
source/lib/replace/system/network.h
@@
-83,6
+83,11
@@
#include <stropts.h>
#endif
+#ifndef HAVE_SOCKLEN_T
+#define HAVE_SOCKLEN_T
+typedef int socklen_t;
+#endif
+
#ifdef REPLACE_INET_NTOA
/* define is in "replace.h" */
char *rep_inet_ntoa(struct in_addr ip);
@@
-245,11
+250,6
@@
void rep_freeifaddrs(struct ifaddrs *);
#define HOST_NAME_MAX 256
#endif
-#ifndef HAVE_SOCKLEN_T
-#define HAVE_SOCKLEN_T
-typedef int socklen_t;
-#endif
-
#ifndef HAVE_SA_FAMILY_T
#define HAVE_SA_FAMILY_T
typedef unsigned short int sa_family_t;