X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fuserspec.c;h=8c1e9ec8ea0680367599ac8945322f216ac05644;hb=f35893155a31779fb14ba7da078eacd97254939e;hp=60c6ecc1aa1a775ea43a2109c467d8635dfd94b2;hpb=d87c39464604e74f580c7fae835be31a4c125c36;p=gnulib.git diff --git a/lib/userspec.c b/lib/userspec.c index 60c6ecc1a..8c1e9ec8e 100644 --- a/lib/userspec.c +++ b/lib/userspec.c @@ -17,14 +17,27 @@ /* Written by David MacKenzie . */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use instead of "config.h" so that a compilation + using -I. -I will use ./config.h rather than /config.h + (which it would do because it found this file in ). */ +#include +#else +#include "config.h" +#endif +#endif + #include #include #include #include -#if defined(USG) || defined(STDC_HEADERS) +#if defined(STDC_HEADERS) || defined(HAVE_STRING_H) #include +#ifndef index #define index strchr +#endif #else #include #endif