summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-12 18:45:05 +0000
committerAndrew Tridgell <tridge@samba.org>2006-09-12 18:45:05 +0000
commitab4fa7daf35e3fb9f39bdff0447f14edc23a8f9c (patch)
tree8c9bfe7c6e11e3d70404364cc7e6306a058b1716 /source/lib
parentd32f0b93bb86694f55ecdbb6620f746ea12cc6dd (diff)
downloadsamba-ab4fa7daf35e3fb9f39bdff0447f14edc23a8f9c.tar.gz
samba-ab4fa7daf35e3fb9f39bdff0447f14edc23a8f9c.tar.xz
samba-ab4fa7daf35e3fb9f39bdff0447f14edc23a8f9c.zip
r18432: ensure roken doesn't try to include both inttypes.h and stdint.h. The
two conflict on irix.
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/replace/replace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/lib/replace/replace.h b/source/lib/replace/replace.h
index 0c37b60febb..a7ad58dd563 100644
--- a/source/lib/replace/replace.h
+++ b/source/lib/replace/replace.h
@@ -53,6 +53,9 @@
#ifdef HAVE_STDINT_H
#include <stdint.h>
+/* force off HAVE_INTTYPES_H so that roken doesn't try to include both,
+ which causes a warning storm on irix */
+#undef HAVE_INTTYPES_H
#elif HAVE_INTTYPES_H
#include <inttypes.h>
#endif