projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1187eb
)
BUILD/MINOR: cpuset freebsd build fix
author
David Carlier
<devnexen@gmail.com>
Sat, 30 Oct 2021 11:22:21 +0000
(12:22 +0100)
committer
Amaury Denoyelle
<adenoyelle@haproxy.com>
Tue, 2 Nov 2021 12:58:28 +0000
(13:58 +0100)
Add missing strings.h header. Required for ffsl definition used by
CPU_FFS macro.
This must be backported up to 2.4.
include/haproxy/cpuset-t.h
patch
|
blob
|
history
diff --git
a/include/haproxy/cpuset-t.h
b/include/haproxy/cpuset-t.h
index
0d5b6c8
..
541fb75
100644
(file)
--- a/
include/haproxy/cpuset-t.h
+++ b/
include/haproxy/cpuset-t.h
@@
-9,6
+9,7
@@
#ifdef __FreeBSD__
#include <sys/_cpuset.h>
#include <sys/cpuset.h>
+#include <strings.h>
#endif
#endif