summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-14 03:42:54 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-14 03:42:54 +0200
commitb96329f4f9ed1f70d21c637f696f27a52af6955d (patch)
tree14eed83f7566baf187af927d7f276fb0a740f3ab /lib/replace
parent396e53f9ffbaf1a70d2ffe327b3da56e24e62e17 (diff)
downloadsamba-b96329f4f9ed1f70d21c637f696f27a52af6955d.tar.gz
samba-b96329f4f9ed1f70d21c637f696f27a52af6955d.tar.bz2
samba-b96329f4f9ed1f70d21c637f696f27a52af6955d.zip
Define __STDC_FORMAT_MACROS, required for PRIu64 define (among others)
from inttypes.h.
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/replace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index c69ea6cdac..99fdf53ba4 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -52,6 +52,7 @@
which causes a warning storm on irix */
#undef HAVE_INTTYPES_H
#elif HAVE_INTTYPES_H
+#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#endif