]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: tree-wide: add several missing activity.h
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 17:54:09 +0000 (19:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:36:51 +0000 (01:36 +0200)
A number of files currently access activity counters but rely on their
definitions to be inherited from other files (task.c, backend.c hlua.c,
sock.c, pool.c, stats.c, fd.c).

src/backend.c
src/fd.c
src/listener.c
src/pool.c
src/sock.c
src/stats.c
src/task.c

index 43642a366680ac41962e2ff4c83e26ad692c9e7a..6ec85ae1f8ff7dc074e381204d44b800cf9a6fc6 100644 (file)
@@ -21,8 +21,9 @@
 
 #include <import/ebmbtree.h>
 
-#include <haproxy/acl.h>
 #include <haproxy/api.h>
+#include <haproxy/acl.h>
+#include <haproxy/activity.h>
 #include <haproxy/arg.h>
 #include <haproxy/backend.h>
 #include <haproxy/channel.h>
index 88fa3b7e5b517b212ac1201af5063bf662b780e5..f6665ed57c659dcebc7af908074cf401114615f4 100644 (file)
--- a/src/fd.c
+++ b/src/fd.c
@@ -88,6 +88,7 @@
 #endif
 
 #include <haproxy/api.h>
+#include <haproxy/activity.h>
 #include <haproxy/cfgparse.h>
 #include <haproxy/fd.h>
 #include <haproxy/global.h>
index bfe32160485b4d0bdeee2906985bd447e76c1d71..797e866b801b839b4797ee96726284660972577e 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <haproxy/acl.h>
 #include <haproxy/api.h>
+#include <haproxy/activity.h>
 #include <haproxy/cfgparse.h>
 #include <haproxy/connection.h>
 #include <haproxy/errors.h>
index ad63d9ba30175746dafe181e0c288f8f34dd3c73..e6669fbaec1e516fe7e5d23b3f3ec5efb322fa47 100644 (file)
@@ -11,7 +11,7 @@
  */
 #include <errno.h>
 
-#include <haproxy/activity-t.h>
+#include <haproxy/activity.h>
 #include <haproxy/api.h>
 #include <haproxy/applet-t.h>
 #include <haproxy/cfgparse.h>
index a1e545f9b684ab35f7b7d77211e0288acf05fe04..d05cf7e6917c509ed76c40313cb384125e91800c 100644 (file)
@@ -26,6 +26,7 @@
 #include <net/if.h>
 
 #include <haproxy/api.h>
+#include <haproxy/activity.h>
 #include <haproxy/connection.h>
 #include <haproxy/listener.h>
 #include <haproxy/log.h>
index 7db4c9029636ba05729e799ac2606bc7e574bdd4..2b5c0e50812151dc1958b041936eec3886b46838 100644 (file)
@@ -25,6 +25,7 @@
 #include <sys/types.h>
 
 #include <haproxy/api.h>
+#include <haproxy/activity.h>
 #include <haproxy/applet-t.h>
 #include <haproxy/backend.h>
 #include <haproxy/base64.h>
index ce544c12dee5bb5b1988063070016050b51e57e8..34c8624c91fb5ea611a59753702d0f55a05d7d0d 100644 (file)
@@ -16,6 +16,7 @@
 #include <import/eb32tree.h>
 
 #include <haproxy/api.h>
+#include <haproxy/activity.h>
 #include <haproxy/cfgparse.h>
 #include <haproxy/fd.h>
 #include <haproxy/list.h>