[git commit] httpd_indexcgi.c: fix compile failure

Denys Vlasenko vda.linux at googlemail.com
Mon Sep 3 10:20:10 UTC 2012


commit: http://git.busybox.net/busybox/commit/?id=168f87c531d04be06e16f04144c61ba289e0c0ec
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/httpd_indexcgi.c |    1 +
 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>


More information about the busybox-cvs mailing list