summaryrefslogtreecommitdiff
path: root/libc/stdlib/setenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/setenv.c')
-rw-r--r--libc/stdlib/setenv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c
index 2428ed92d..5545c6782 100644
--- a/libc/stdlib/setenv.c
+++ b/libc/stdlib/setenv.c
@@ -19,6 +19,8 @@
modified for uClibc by Erik Andersen <andersen@codepoet.org>
*/
+#define strndup __strndup
+
#define _GNU_SOURCE
#include <features.h>
#include <errno.h>