diff --git a/include/proto/http_fetch.h b/include/haproxy/http_fetch.h similarity index 89% rename from include/proto/http_fetch.h rename to include/haproxy/http_fetch.h index 2c844355b..549d77329 100644 --- a/include/proto/http_fetch.h +++ b/include/haproxy/http_fetch.h @@ -1,5 +1,5 @@ /* - * include/proto/http_fetch.h + * include/haproxy/http_fetch.h * This file contains the minimally required http sample fetch declarations. * * Copyright (C) 2000-2018 Willy Tarreau - w@1wt.eu @@ -19,21 +19,19 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _PROTO_HTTP_FETCH_H -#define _PROTO_HTTP_FETCH_H +#ifndef _HAPROXY_HTTP_FETCH_H +#define _HAPROXY_HTTP_FETCH_H +#include #include #include -#include -#include -#include #include +#include struct htx *smp_prefetch_htx(struct sample *smp, struct channel *chn, struct check *check, int vol); int val_hdr(struct arg *arg, char **err_msg); - -#endif /* _PROTO_HTTP_FETCH_H */ +#endif /* _HAPROXY_HTTP_FETCH_H */ /* * Local variables: diff --git a/src/51d.c b/src/51d.c index 529a8baa0..3bdc5bf61 100644 --- a/src/51d.c +++ b/src/51d.c @@ -5,11 +5,11 @@ #include #include #include +#include #include #include #include #include -#include #include #include #include diff --git a/src/da.c b/src/da.c index 20afdfc67..ab36fa932 100644 --- a/src/da.c +++ b/src/da.c @@ -4,10 +4,10 @@ #include #include #include +#include #include #include #include -#include #include #include #include diff --git a/src/fcgi-app.c b/src/fcgi-app.c index 10a8de542..68d0efe2e 100644 --- a/src/fcgi-app.c +++ b/src/fcgi-app.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -24,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/src/hlua.c b/src/hlua.c index 0b75bf723..b9339d421 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -53,7 +54,6 @@ #include #include #include -#include #include #include #include diff --git a/src/http_fetch.c b/src/http_fetch.c index 67dd98949..f617aa9de 100644 --- a/src/http_fetch.c +++ b/src/http_fetch.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -35,7 +36,6 @@ #include #include -#include #include #include #include diff --git a/src/http_htx.c b/src/http_htx.c index 35bb2c6ca..d5d8747ff 100644 --- a/src/http_htx.c +++ b/src/http_htx.c @@ -16,6 +16,7 @@ #include #include +#include #include #include @@ -26,7 +27,6 @@ #include #include -#include struct buffer http_err_chunks[HTTP_ERR_SIZE]; struct http_reply http_err_replies[HTTP_ERR_SIZE]; diff --git a/src/wurfl.c b/src/wurfl.c index bbc2f3d64..01cce0d8c 100644 --- a/src/wurfl.c +++ b/src/wurfl.c @@ -7,11 +7,11 @@ #include #include #include +#include #include #include #include #include -#include #include #include #include