From 7d865a5e3e15bb42bf5b212b82ed052b74cfdda4 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 4 Jun 2020 10:57:05 +0200 Subject: [PATCH] REORG: include: move flt_http_comp.h to haproxy/ There was no type definition for this file which was moved as-is. --- include/{proto => haproxy}/flt_http_comp.h | 8 ++++---- src/filters.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename include/{proto => haproxy}/flt_http_comp.h (87%) diff --git a/include/proto/flt_http_comp.h b/include/haproxy/flt_http_comp.h similarity index 87% rename from include/proto/flt_http_comp.h rename to include/haproxy/flt_http_comp.h index 6e95f144d..4ba5ebbd0 100644 --- a/include/proto/flt_http_comp.h +++ b/include/haproxy/flt_http_comp.h @@ -1,5 +1,5 @@ /* - * include/proto/flt_http_comp.h + * include/haproxy/flt_http_comp.h * This file defines function prototypes for the compression filter. * * Copyright (C) 2015 Qualys Inc., Christopher Faulet @@ -18,11 +18,11 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _PROTO_FLT_HTTP_COMP_H -#define _PROTO_FLT_HTTP_COMP_H +#ifndef _HAPROXY_FLT_HTTP_COMP_H +#define _HAPROXY_FLT_HTTP_COMP_H #include int check_implicit_http_comp_flt(struct proxy *proxy); -#endif // _PROTO_FLT_HTTP_COMP_H +#endif // _HAPROXY_FLT_HTTP_COMP_H diff --git a/src/filters.c b/src/filters.c index 965b54fa0..bf9e6ed69 100644 --- a/src/filters.c +++ b/src/filters.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -24,7 +25,6 @@ #include #include -#include #include #include #include