svn commit: samba r17851 - in branches/SAMBA_3_0/source/libaddns: .

vlendec at samba.org vlendec at samba.org
Sun Aug 27 16:14:31 GMT 2006


Author: vlendec
Date: 2006-08-27 16:14:31 +0000 (Sun, 27 Aug 2006)
New Revision: 17851

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

Log:
Fix a warning & attempt to fix the Tru64 build
Modified:
   branches/SAMBA_3_0/source/libaddns/dns.h
   branches/SAMBA_3_0/source/libaddns/dnssock.c


Changeset:
Modified: branches/SAMBA_3_0/source/libaddns/dns.h
===================================================================
--- branches/SAMBA_3_0/source/libaddns/dns.h	2006-08-27 14:55:46 UTC (rev 17850)
+++ branches/SAMBA_3_0/source/libaddns/dns.h	2006-08-27 16:14:31 UTC (rev 17851)
@@ -50,6 +50,30 @@
 #include <krb5.h>
 #endif
 
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+
+#ifndef int16
+#define int16 int16_t
+#endif
+
+#ifndef uint16
+#define uint16 uint16_t
+#endif
+
+#ifndef int32
+#define int32 int32_t
+#endif
+
+#ifndef uint32
+#define uint32 uint32_t
+#endif
+#endif
+
+#ifdef HAVE_KRB5_H
+#include <krb5.h>
+#endif
+
 #if HAVE_GSSAPI_H
 #include <gssapi.h>
 #elif HAVE_GSSAPI_GSSAPI_H

Modified: branches/SAMBA_3_0/source/libaddns/dnssock.c
===================================================================
--- branches/SAMBA_3_0/source/libaddns/dnssock.c	2006-08-27 14:55:46 UTC (rev 17850)
+++ branches/SAMBA_3_0/source/libaddns/dnssock.c	2006-08-27 16:14:31 UTC (rev 17851)
@@ -238,7 +238,7 @@
 	if ( !dwNumSockets ) {
 #ifndef WIN32
 		dwError = ETIMEDOUT;
-#elif
+#else
 		dwError = WSAETIMEDOUT;
 #endif
 	}



More information about the samba-cvs mailing list