summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-07-22 11:16:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:57 -0500
commita33c02612ad12b27ba2da1d3b9be0fb9bb339367 (patch)
tree7da362a7344e51b7f8bbe9afbeed3db04bb2af40 /source4/include
parent2c457eca252fd62a3429ca3db172b85c534bd2d7 (diff)
downloadsamba-a33c02612ad12b27ba2da1d3b9be0fb9bb339367.tar.gz
samba-a33c02612ad12b27ba2da1d3b9be0fb9bb339367.tar.bz2
samba-a33c02612ad12b27ba2da1d3b9be0fb9bb339367.zip
r8713: Experiment to try and fix warnings on 64-bit machines without breaking
32-bit ones. Yes, this weird looking macros are part of C99. (This used to be commit 7b316f119b8486b75ebe63b185c50fab82313e58)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 88ee4af3b0..58799d9b86 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -47,6 +47,10 @@
#include <stdint.h>
#endif
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+
#ifdef HAVE_STRING_H
#include <string.h>
#endif