diff --git a/include/common/fcgi.h b/include/haproxy/fcgi.h similarity index 96% rename from include/common/fcgi.h rename to include/haproxy/fcgi.h index 43174f095..e276d69c3 100644 --- a/include/common/fcgi.h +++ b/include/haproxy/fcgi.h @@ -1,5 +1,5 @@ /* - * include/common/fcgi.h + * include/haproxy/fcgi.h * This file contains FastCGI protocol definitions. * * Copyright (C) 2019 HAProxy Technologies, Christopher Faulet @@ -19,13 +19,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _COMMON_FCGI_H -#define _COMMON_FCGI_H +#ifndef _HAPROXY_FCGI_H +#define _HAPROXY_FCGI_H -#include +#include #include #include -#include /* FCGI protocol version */ #define FCGI_VERSION 0x1 @@ -90,7 +89,7 @@ struct fcgi_end_request { }; struct fcgi_unknown_type { - uint8_t type; + uint8_t type; }; @@ -124,7 +123,7 @@ size_t fcgi_aligned_decode_param(const struct buffer *in, size_t o, struct fcgi_ size_t fcgi_decode_end_request(const struct buffer *in, size_t o, struct fcgi_end_request *r); -#endif /* _COMMON_FCGI_H */ +#endif /* _HAPROXY_FCGI_H */ /* * Local variables: diff --git a/include/types/fcgi-app.h b/include/types/fcgi-app.h index 72219e942..c82f39a38 100644 --- a/include/types/fcgi-app.h +++ b/include/types/fcgi-app.h @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include diff --git a/src/fcgi.c b/src/fcgi.c index 8cfb6d0a5..455cc2228 100644 --- a/src/fcgi.c +++ b/src/fcgi.c @@ -24,7 +24,7 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include +#include #include #include diff --git a/src/mux_fcgi.c b/src/mux_fcgi.c index aa6c018df..0e1d59ce6 100644 --- a/src/mux_fcgi.c +++ b/src/mux_fcgi.c @@ -12,7 +12,7 @@ #include #include -#include +#include #include #include #include