]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: stream-int: fix a few includes dependencies
authorWilly Tarreau <w@1wt.eu>
Wed, 11 Mar 2020 13:10:23 +0000 (14:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 11 Mar 2020 13:15:33 +0000 (14:15 +0100)
The stream-int code doesn't need to load server.h as it doesn't use
servers at all. However removing this one reveals that proxy.h was
lacking types/checks.h that used to be silently inherited from
types/server.h loaded before in stream_interface.h.

include/proto/stream_interface.h
include/types/proxy.h

index d1e228b0927a1603f367d646a1fe4940c5255fb0..490ee5ebfcd85d826dc68f8dcfb28d2fc8f33536 100644 (file)
@@ -25,7 +25,6 @@
 #include <stdlib.h>
 
 #include <common/config.h>
-#include <types/server.h>
 #include <types/stream.h>
 #include <types/stream_interface.h>
 #include <proto/applet.h>
index b64d448af77ff47c842c9d062d4c209879686b6d..a3da428e80ae3b86257f5094a112b9e94028638d 100644 (file)
@@ -40,6 +40,7 @@
 
 #include <types/acl.h>
 #include <types/backend.h>
+#include <types/checks.h>
 #include <types/counters.h>
 #include <types/filters.h>
 #include <types/freq_ctr.h>