X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fisdir.c;h=2c75bec9bde5a9d802306e96ad23ce002587a321;hb=95ed01883016323b7476f3ee580149ea4b810e0f;hp=439235f8e146df0f076c3023439d2f5c6c49bf73;hpb=d5071504f3e2887eab96805ce5dffc8c5e4cb99a;p=gnulib.git diff --git a/lib/isdir.c b/lib/isdir.c index 439235f8e..2c75bec9b 100644 --- a/lib/isdir.c +++ b/lib/isdir.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 + #include #include