summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-09-11 05:18:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:03:34 -0500
commit74622a761243adc72ac955e33227a5801552ee99 (patch)
tree270cc99fba45f4684ddc23454f649d853d4a8377
parentb03137d568f598eb0b506c6c4871a1311bc682e7 (diff)
downloadsamba-74622a761243adc72ac955e33227a5801552ee99.tar.gz
samba-74622a761243adc72ac955e33227a5801552ee99.tar.bz2
samba-74622a761243adc72ac955e33227a5801552ee99.zip
r10151: Fix includes correctly. Patch from Steve Williams
<steve@celineandsteve.com>. Jeremy. (This used to be commit 17598846e7ee2748f2dcb3821823108fa8410480)
-rw-r--r--source3/include/smb_share_modes.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/include/smb_share_modes.h b/source3/include/smb_share_modes.h
index 5a79e171d5..f61ba624c6 100644
--- a/source3/include/smb_share_modes.h
+++ b/source3/include/smb_share_modes.h
@@ -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. */