]> git.kaiwu.me - haproxy.git/commitdiff
BUILD: http: fix missing include in haproxy.c
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 24 Nov 2026 13:12:00 +0000 (14:12 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 24 Nov 2026 13:16:02 +0000 (14:16 +0100)
Add <haproxy/http.h> in haproxy.c. This fixes the undeclared usage of
http_dump_settings(). This is required since the following patch.

  commit aa6d03899746e0c86f2d0986bf80fd826d2c4196 (haproxy.org/master, haproxy.org/HEAD)
  MINOR: http: add -dH at boot to dump HTTP specific settings

No need to backport.

src/haproxy.c

index c5f44ddf14743e877427efc86b22dd1b7862b310..59fd2a9060c70fba866ad59ec865923fc8521f00 100644 (file)
@@ -88,6 +88,7 @@
 #include <haproxy/filters.h>
 #include <haproxy/global.h>
 #include <haproxy/hlua.h>
+#include <haproxy/http.h>
 #include <haproxy/http_rules.h>
 #include <haproxy/limits.h>
 #if defined(USE_LINUX_CAP)