]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: Fix build by including haproxy/global.h
authorOlivier Houchard <cognet@ci0.org>
Tue, 16 Jun 2020 21:35:00 +0000 (23:35 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 16 Jun 2020 21:36:04 +0000 (23:36 +0200)
In srv/version.c, fix build by including haproxy/global.h, so that
REGISTER_BUILD_OPTS is properly defined.

src/version.c

index bf67efa763f2dbd9ff3d163f374c5db29fd9c29b..e7bb748f81e577ae46984a85c02c0e6792111e8b 100644 (file)
@@ -4,6 +4,7 @@
  * code version.
  */
 
+#include <haproxy/global.h>
 #include <haproxy/version.h>
 
 /* These ones are made variables and not constants so that they are stored into