BUILD/MINOR: regex: missing header

When HAProxy is compiled with pcre, strlen() is used, but <string.h>
is not included.

This patch must be backported in 1.6
This commit is contained in:
Thierry FOURNIER 2015-11-26 19:33:54 +01:00 committed by Willy Tarreau
parent f085d63099
commit ec9a58c709

View File

@ -23,6 +23,7 @@
#define _COMMON_REGEX_H #define _COMMON_REGEX_H
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <common/config.h> #include <common/config.h>