X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fdirname.c;h=cb53eb406d1effe71dde7df55a18077d9b3f4a3a;hb=c70c08f944b5339f99720b830bbd98d0817265dc;hp=5a92ce557ff6d6f08fc9e527ddbea90dea46752f;hpb=b06578954912a7dcfbe0c6f6efca230b04ad0e7f;p=gnulib.git diff --git a/lib/dirname.c b/lib/dirname.c index 5a92ce557..cb53eb406 100644 --- a/lib/dirname.c +++ b/lib/dirname.c @@ -15,6 +15,17 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef HAVE_CONFIG_H +#if defined (CONFIG_BROKETS) +/* We use instead of "config.h" so that a compilation + using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h + (which it would do because it found this file in $srcdir). */ +#include +#else +#include "config.h" +#endif +#endif + #ifdef STDC_HEADERS #include #else