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
<[EMAIL PROTECTED]>.
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. */

Reply via email to