mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 04:56:10 +02:00
CLEANUP: server: moving netinet/tcp.h inclusion
netinet/tcp.h needs sys/types.h for u_int* types usage, issue found while building on OpenBSD.
This commit is contained in:
parent
7b677265fd
commit
6f1820864b
@ -13,7 +13,6 @@
|
||||
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <netinet/tcp.h>
|
||||
|
||||
#include <import/xxhash.h>
|
||||
|
||||
@ -43,6 +42,7 @@
|
||||
#include <proto/stats.h>
|
||||
#include <proto/task.h>
|
||||
#include <proto/dns.h>
|
||||
#include <netinet/tcp.h>
|
||||
|
||||
static void srv_update_state(struct server *srv, int version, char **params);
|
||||
static int srv_apply_lastaddr(struct server *srv, int *err_code);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user