diff --git a/include/proto/channel.h b/include/proto/channel.h index 42bba15b0..da47c166b 100644 --- a/include/proto/channel.h +++ b/include/proto/channel.h @@ -32,6 +32,7 @@ #include #include +#include #include extern struct pool_head *pool2_channel; diff --git a/include/types/acl.h b/include/types/acl.h index 80b2c39a6..173204d5c 100644 --- a/include/types/acl.h +++ b/include/types/acl.h @@ -31,7 +31,6 @@ #include #include #include -#include #include diff --git a/include/types/proxy.h b/include/types/proxy.h index 968946070..30409f9f0 100644 --- a/include/types/proxy.h +++ b/include/types/proxy.h @@ -46,7 +46,6 @@ #include #include #include -#include #include #include @@ -186,6 +185,8 @@ enum pr_mode { #define STK_IS_STORE 0x00000002 /* store on request fetch */ #define STK_ON_RSP 0x00000004 /* store on response fetch */ +struct session; + struct error_snapshot { struct timeval when; /* date of this event, (tv_sec == 0) means "never" */ unsigned int len; /* original length of the last invalid request/response */ diff --git a/include/types/queue.h b/include/types/queue.h index 922aa92fd..9ff8df5f9 100644 --- a/include/types/queue.h +++ b/include/types/queue.h @@ -26,7 +26,8 @@ #include #include -#include + +struct session; struct pendconn { struct list list; /* chaining ... */ diff --git a/src/appsession.c b/src/appsession.c index c22be45ce..7b7229616 100644 --- a/src/appsession.c +++ b/src/appsession.c @@ -13,6 +13,7 @@ #include #include +#include #include #include