]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: calltrace: fix wrong include when building with TRACE=1
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Apr 2022 06:23:30 +0000 (08:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 19 Apr 2022 06:23:30 +0000 (08:23 +0200)
calltrace wasn't updated after the move of "now" from time.h to clock.h.
This must be backported to 2.5 where the breakage happened.

src/calltrace.c

index 551e8a01fe0ba8b90dc28476de978c5cb1382bfa..f72e12116e590b1e578ce7dca913b87e657daaea 100644 (file)
@@ -48,7 +48,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <haproxy/api.h>
-#include <haproxy/time.h>
+#include <haproxy/clock.h>
 #include <haproxy/tools.h>
 
 static FILE *log;