Define __STDC_FORMAT_MACROS, required for PRIu64 define (among others)
authorJelmer Vernooij <jelmer@samba.org>
Tue, 14 Oct 2008 01:42:54 +0000 (03:42 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 14 Oct 2008 01:42:54 +0000 (03:42 +0200)
from inttypes.h.

lib/replace/replace.h

index c69ea6cdac4d8ae873db163b4ceb6c1cbf73f792..99fdf53ba4176bef53c96cc52f6afe986bed28dd 100644 (file)
@@ -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