include fcntl in semaphore header to fix includes
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
sys_includes = []
|
||||
# TODO clean up namespace pollution from fcntl later
|
||||
#
|
||||
# fcntl.h brings in O_CREAT and O_EXCL
|
||||
# fcntl.h brings in sys/stat.h which brings in sys/types.h which brings in clockid_t (needed for sem_clockwait)
|
||||
sys_includes = ["fcntl.h"]
|
||||
include_guard = "_RELIBC_SEMAPHORE_H"
|
||||
after_includes = """
|
||||
#include <bits/timespec.h> // for timespec
|
||||
|
||||
Reference in New Issue
Block a user