diff options
Diffstat (limited to 'lib/putenv.c')
-rw-r--r-- | lib/putenv.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/putenv.c b/lib/putenv.c index c39d1b71e..573e62478 100644 --- a/lib/putenv.c +++ b/lib/putenv.c @@ -16,6 +16,17 @@ License along with the GNU C Library; see the file COPYING.LIB. 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$srcdir will use ./config.h rather than $srcdir/config.h + (which it would do because it found this file in $srcdir). */ +#include <config.h> +#else +#include "config.h" +#endif +#endif + #include <sys/types.h> #include <errno.h> |