mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-17 17:04:35 +00:00
BUILD: ssl: fix shctx build on RHEL with futex
On RHEL/CentOS, linux/futex.h uses an u32 type which is never declared anywhere. Let's set it with a #define in order to fix the issue without causing conflicts with possible typedefs on other platforms.
This commit is contained in:
parent
783f25800c
commit
18b2059a75
@ -14,6 +14,9 @@
|
||||
#include <sys/mman.h>
|
||||
#ifdef USE_SYSCALL_FUTEX
|
||||
#include <unistd.h>
|
||||
#ifndef u32
|
||||
#define u32 unsigned int
|
||||
#endif
|
||||
#include <linux/futex.h>
|
||||
#include <sys/syscall.h>
|
||||
#else /* USE_SYSCALL_FUTEX */
|
||||
|
Loading…
Reference in New Issue
Block a user