]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: mworker: mworker-prog needs time.h for the 'now' variable
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 17:31:06 +0000 (19:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:36:51 +0000 (01:36 +0200)
It wasn't included and it used to get them through other includes.

src/mworker-prog.c

index 9de94a2894a7e27bd11702dcfbec43a73997b548..5ecd3df36b72db9450532404333554c0128774a3 100644 (file)
@@ -26,6 +26,7 @@
 #include <haproxy/global.h>
 #include <haproxy/mworker.h>
 #include <haproxy/task.h>
+#include <haproxy/time.h>
 
 
 static int use_program = 0; /* do we use the program section ? */