summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2012-09-03 12:20:10 +0200
committerDenys Vlasenko2012-09-03 12:20:10 +0200
commit168f87c531d04be06e16f04144c61ba289e0c0ec (patch)
treec567d85df90d7c9b2d312458fbfba956958445a1
parent5f10fdf1dd43cf8db74cd2f84eb1c6ede48e3328 (diff)
downloadbusybox-168f87c531d04be06e16f04144c61ba289e0c0ec.zip
busybox-168f87c531d04be06e16f04144c61ba289e0c0ec.tar.gz
httpd_indexcgi.c: fix compile failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/httpd_indexcgi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/httpd_indexcgi.c b/networking/httpd_indexcgi.c
index d732cd4..562cd7f 100644
--- a/networking/httpd_indexcgi.c
+++ b/networking/httpd_indexcgi.c
@@ -35,6 +35,7 @@ httpd_indexcgi.c -o index.cgi
* 2576 4 2048 4628 1214 index.cgi.o
*/
+#define _GNU_SOURCE 1 /* for strchrnul */
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>