sys/fcntl.h should be replaced by fcntl.h
Compile Kea on Alpine Linux I got some warnings about:
/usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Wcpp]
Even it is very minor it is something very easy to fix...