]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: build: fix build dependency
authorThierry FOURNIER <tfournier@arpalert.org>
Tue, 9 Jun 2015 13:49:44 +0000 (15:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 13 Jun 2015 21:01:37 +0000 (23:01 +0200)
fix include dependency. The header file sample.h don't need to known
the content of the struct arg, so I remove the include, and replace
it by a simple pointer declaration.

This prevent an include dependecy issue with the next patch.

include/types/sample.h

index 2f3cfbfc5a76ed7ffb9571368c1aedf29c8f7994..22dfe599db0d34e27e5f840dc015343299314cf0 100644 (file)
 
 #include <common/chunk.h>
 #include <common/mini-clist.h>
-#include <types/arg.h>
 #include <types/proto_http.h>
 
+struct arg;
+
 /* input and output sample types */
 enum {
        SMP_T_ANY = 0,   /* any type */