utils: define _GNU_SOURCE to get clearenv()
authorFelix Fietkau <nbd@openwrt.org>
Thu, 20 Mar 2014 13:15:12 +0000 (14:15 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 20 Mar 2014 13:15:12 +0000 (14:15 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
utils.c

diff --git a/utils.c b/utils.c
index 66c1865..7e5ae45 100644 (file)
--- a/utils.c
+++ b/utils.c
@@ -16,6 +16,7 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#define _GNU_SOURCE
 #include "utils.h"
 #include "options.h"
 
 #include "utils.h"
 #include "options.h"