svn commit: samba r10151 - in branches/SAMBA_3_0/source/include: .

jra at samba.org jra at samba.org
Sun Sep 11 05:18:14 GMT 2005


Author: jra
Date: 2005-09-11 05:18:14 +0000 (Sun, 11 Sep 2005)
New Revision: 10151

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

Log:
Fix includes correctly. Patch from Steve Williams
<steve at celineandsteve.com>.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/include/smb_share_modes.h


Changeset:
Modified: branches/SAMBA_3_0/source/include/smb_share_modes.h
===================================================================
--- branches/SAMBA_3_0/source/include/smb_share_modes.h	2005-09-11 05:16:54 UTC (rev 10150)
+++ branches/SAMBA_3_0/source/include/smb_share_modes.h	2005-09-11 05:18:14 UTC (rev 10151)
@@ -25,7 +25,14 @@
 extern "C" {
 #endif
 
-#include <stdint.h>
+#if HAVE_INTTYPES_H
+# include <inttypes.h>
+#else
+# if HAVE_STDINT_H
+#  include <stdint.h>
+# endif
+#endif
+
 #include "tdb.h"
 
 /* Database context handle. */



More information about the samba-cvs mailing list