From: Adam Dickmeiss Date: Sun, 17 Jun 2007 18:22:49 +0000 (+0000) Subject: Only one include of stdio.h and with _GNU_SOURCE defined. X-Git-Tag: PAZPAR2.1.0.0~37 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=d6b6f45fcc03e7d59583fac94a21599126faf0b6;p=pazpar2-moved-to-github.git Only one include of stdio.h and with _GNU_SOURCE defined. Added include of "cconfig.h". _all_ Pazpar2 source must include it. --- diff --git a/src/icu_chain_test.c b/src/icu_chain_test.c index 9d4fddd..6c630ae 100644 --- a/src/icu_chain_test.c +++ b/src/icu_chain_test.c @@ -2,10 +2,13 @@ gcc -I/usr/include/libxml2 -lxml2 -o icu-xml-convert icu-xml-convert.c */ -#include -#include +#if HAVE_CONFIG_H +#include "cconfig.h" +#endif #define _GNU_SOURCE +#include + #include #include