]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD/MINOR: missing header file
authorThierry FOURNIER <tfournier@exceliance.fr>
Wed, 9 Oct 2013 13:23:01 +0000 (15:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Oct 2013 09:38:35 +0000 (11:38 +0200)
In the header file "common/regex.h", the C keyword NULL is used. This
keyword is referenced into the header file "stdlib.h", but this is not
included.

include/common/regex.h

index 01040195a1244196d54f2e3c4425ec4b3e3f42fd..1cc471b3329c476b102119315daf5c8997eb0ff2 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef _COMMON_REGEX_H
 #define _COMMON_REGEX_H
 
+#include <stdlib.h>
+
 #include <common/config.h>
 
 #ifdef USE_PCRE