]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUILD] warning in stream_interface.h
authorEmeric Brun <ebrun@exceliance.fr>
Mon, 4 Jan 2010 13:47:58 +0000 (14:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Jan 2010 22:46:08 +0000 (23:46 +0100)
On some platforms, gcc complains about struct sockaddr.

include/types/stream_interface.h

index 43e82c702cc560f8e53176121fb0a66e9922d960..6ad6684e9e7ab9e5a0ed9ca3da6b639225fe5707 100644 (file)
@@ -23,6 +23,7 @@
 #define _TYPES_STREAM_INTERFACE_H
 
 #include <stdlib.h>
+#include <sys/socket.h>
 
 #include <types/buffers.h>
 #include <common/config.h>