svn commit: samba r26551 - in branches/SAMBA_4_0/source/lib/replace: .

jpeach at samba.org jpeach at samba.org
Thu Dec 20 16:35:42 GMT 2007


Author: jpeach
Date: 2007-12-20 16:35:42 +0000 (Thu, 20 Dec 2007)
New Revision: 26551

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26551

Log:
Make sure NULL is defined before using it to test for getifaddrs().
Patch from Timur I. Bakeyev <timur at com.bat.ru>.

Modified:
   branches/SAMBA_4_0/source/lib/replace/getifaddrs.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/getifaddrs.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/getifaddrs.m4	2007-12-20 15:59:39 UTC (rev 26550)
+++ branches/SAMBA_4_0/source/lib/replace/getifaddrs.m4	2007-12-20 16:35:42 UTC (rev 26551)
@@ -11,6 +11,10 @@
 AC_TRY_COMPILE([
 #include <sys/socket.h>
 #include <sys/types.h>
+#if STDC_HEADERS
+#include <stdlib.h>
+#include <stddef.h>
+#endif
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <ifaddrs.h>



More information about the samba-cvs mailing list