svn commit: samba r18061 - in
branches/SAMBA_4_0/source/lib/replace: .
tridge at samba.org
tridge at samba.org
Tue Sep 5 04:58:24 GMT 2006
Author: tridge
Date: 2006-09-05 04:58:23 +0000 (Tue, 05 Sep 2006)
New Revision: 18061
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18061
Log:
this should fix the libreplace build on us4 with gcc
Modified:
branches/SAMBA_4_0/source/lib/replace/config.m4
branches/SAMBA_4_0/source/lib/replace/replace.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/config.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/config.m4 2006-09-05 04:53:46 UTC (rev 18060)
+++ branches/SAMBA_4_0/source/lib/replace/config.m4 2006-09-05 04:58:23 UTC (rev 18061)
@@ -51,6 +51,7 @@
AC_CHECK_HEADERS(sys/syslog.h syslog.h)
AC_CHECK_HEADERS(sys/time.h time.h)
+AC_CHECK_HEADERS(sys/socket.h netinet/in.h)
AC_CHECK_FUNCS(seteuid setresuid setegid setresgid chroot bzero strerror)
AC_CHECK_FUNCS(vsyslog setlinebuf mktime ftruncate chsize rename)
AC_CHECK_FUNCS(waitpid strlcpy strlcat innetgr initgroups memmove strdup)
Modified: branches/SAMBA_4_0/source/lib/replace/replace.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/replace.c 2006-09-05 04:53:46 UTC (rev 18060)
+++ branches/SAMBA_4_0/source/lib/replace/replace.c 2006-09-05 04:58:23 UTC (rev 18061)
@@ -31,6 +31,14 @@
#include <sys/types.h>
#include <fcntl.h>
+#if HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
+#if HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
void replace_dummy(void);
void replace_dummy(void) {}
More information about the samba-cvs
mailing list