[SCM] Samba Shared Repository - branch v4-0-test updated -
release-4-0-0alpha2-1036-g8a26a6e
Michael Adam
obnox at samba.org
Tue Feb 26 11:42:55 GMT 2008
The branch, v4-0-test has been updated
via 8a26a6e8f11aca5119b15e304213548ad608dc5b (commit)
from 16c60cd347a42a2d98753585cbefddc948e2860f (commit)
http://gitweb.samba.org/?samba.git;a=shortlog;h=v4-0-test
- Log -----------------------------------------------------------------
commit 8a26a6e8f11aca5119b15e304213548ad608dc5b
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 26 11:18:51 2008 +0100
Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.
Michael
-----------------------------------------------------------------------
Summary of changes:
source/lib/replace/system/network.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/replace/system/network.h b/source/lib/replace/system/network.h
index d09e3f7..a84b22e 100644
--- 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;
--
Samba Shared Repository
More information about the samba-cvs
mailing list