]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: fix missing include <string.h> in proto/listener.h
authorThierry FOURNIER <tfournier@exceliance.fr>
Mon, 10 Jun 2013 13:09:19 +0000 (15:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Jun 2013 17:52:17 +0000 (19:52 +0200)
The file proto/listener.h makes use of strdup() but doesn't include
<string.h> so it's sensible to include file ordering.

include/proto/listener.h

index 63bef122a2328742fe216a76e258a50a738dee2b..1473bfda7d5b69b783c591657bc3df6d51b069e8 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef _PROTO_LISTENER_H
 #define _PROTO_LISTENER_H
 
+#include <string.h>
+
 #include <types/listener.h>
 
 /* This function adds the specified listener's file descriptor to the polling