mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-21 01:15:17 -04:00
BUILD: 51d: fix bool definition on dummy lib v4
Modern compiler breaks when defining bool, false and true. Include <stdbool.h> instead. $ make -j$(nproc) TARGET=linux-glibc USE_51DEGREES=1 \ 51DEGREES_VER=4 51DEGREES_SRC=addons/51degrees/dummy/v4hash/
This commit is contained in:
parent
4bffea8579
commit
29b974fc4e
1 changed files with 1 additions and 2 deletions
|
|
@ -40,8 +40,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
typedef int bool;
|
||||
enum { false, true };
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef unsigned char byte;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue