]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: build: missing header
authorThierry FOURNIER <tfournier@arpalert.org>
Fri, 11 Sep 2015 06:33:33 +0000 (08:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Sep 2015 15:34:56 +0000 (17:34 +0200)
commit007ff4ce0f87036dec2455995a1a14c8bf5214cd
tree2a6c8cf25df90a352079b6f428b8305fa264a5de
parentec3c37db3b62db315cbc1bfd759fcb30ebd0891c
MINOR: build: missing header

Regex header file is missing in types/action.h

Repported by Conrad Hoffmann

I cannot build the current dev's master HEAD (ec3c37d) because of this error:

> In file included from include/proto/proto_http.h:26:0,
>                  from src/stick_table.c:26:
> include/types/action.h:102:20: error: field â\80\98reâ\80\99 has incomplete type
>     struct my_regex re;    /* used by replace-header and replace-value */
>                     ^
> Makefile:771: recipe for target 'src/stick_table.o' failed
> make: *** [src/stick_table.o] Error 1

The struct act_rule defined in action.h includes a full struct my_regex
without #include-ing regex.h. Both gcc 5.2.0 and clang 3.6.2 do not allow this.
include/types/action.h