Define the putenv substitute in <stdlib.h> rather than in <config.h>.
[gnulib.git] / modules / putenv
index cba6a04..06a0710 100644 (file)
@@ -6,14 +6,17 @@ lib/putenv.c
 m4/putenv.m4
 
 Depends-on:
+stdlib
 malloc-posix
 
 configure.ac:
 gl_FUNC_PUTENV
+gl_STDLIB_MODULE_INDICATOR([putenv])
 
 Makefile.am:
 
 Include:
+#include <stdlib.h>
 
 License:
 LGPL