]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: http: include types/sample.h in proto_http.h
authorWilly Tarreau <w@1wt.eu>
Fri, 11 Nov 2016 06:56:48 +0000 (07:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Nov 2016 06:56:48 +0000 (07:56 +0100)
Commit d7c9196 ("MAJOR: filters: Add filters support") removed sample.h
from proto_http.h, but it has become necessary as of commit fd7edd3
("MINOR: Move http method enum from proto_http to sample") in order
to have HTTP_METH_*. Due to this, the "debug/flags" utility doesn't
build anymore.

include/types/proto_http.h

index 935be8ce6655f6708c86e9551b468940ede60bf2..0c1f50f9bb56921cdf3cddb091a971892bfe5853 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <types/hdr_idx.h>
 #include <types/filters.h>
+#include <types/sample.h>
 
 /* These are the flags that are found in txn->flags */