From daff791c273cb3970add7abdb586745bb816db2a 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. (This used to be commit 4dd949c80d4400c3a80571cc28f599c37c1fcf7b) --- source4/lib/replace/replace.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/lib/replace') diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h index 0c37b60feb..a7ad58dd56 100644 --- a/source4/lib/replace/replace.h +++ b/source4/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