From ab4fa7daf35e3fb9f39bdff0447f14edc23a8f9c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 12 Sep 2006 18:45:05 +0000 Subject: r18432: ensure roken doesn't try to include both inttypes.h and stdint.h. The two conflict on irix. --- source/lib/replace/replace.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/lib/replace/replace.h') 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 +/* 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 #endif -- cgit