]> git.kaiwu.me - haproxy.git/commit
BUILD: fd: Make sure to include sched.h
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 8 Sep 2026 14:00:18 +0000 (16:00 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 8 Sep 2026 13:50:58 +0000 (15:50 +0200)
commit559c570b472d0f70ac298149d600af711969ab12
tree506ea160d2ec2a78f12aea934e4a84e4d5c37829
parent023d4e7a8fd81909b7acab3e8fee53411a6c3f58
BUILD: fd: Make sure to include sched.h

Commit 5e9662ddd63a730235deec27489c7e8897fea21d made it so that instead
of checking for the existence of CLONE_FILES, we'd define
HA_HAVE_UNSHARE if file unsharing is available. To determine that, it
checks for the existence of CLONE_FILES, however without including
sched.h, it will never be defined, and file unsharing will never be
used.
Fix that by properly including sched.h.
include/haproxy/compat.h