diff options
Diffstat (limited to 'lib/dirname.c')
-rw-r--r-- | lib/dirname.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/dirname.c b/lib/dirname.c index 5a92ce557..8e365ed92 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 <config.h> 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 <config.h> +#else +#include "config.h" +#endif +#endif + #ifdef STDC_HEADERS #include <stdlib.h> #else |