17/04/2018 04:06, Yongseok Koh: > There's a bug in the old RedHat release: > Bug 1476120 - glibc headers don't include linux/falloc.h, and therefore > doesn't include fallocate() flags [1] > > How about adding "#include <linux/falloc.h>" ahead of fcntl.h? I'm quite lazy > to update my host and using CentOS 7.2.1511, then it failed to compile due to > this bug.
It's strange, it is already fixed (at least in master). Please can you double check what's wrong? > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1476120