Include sys/stat.h and unistd.h in fcntl.h, remove bits/fcntl.h

This commit is contained in:
Jeremy Soller
2025-12-19 13:01:45 -07:00
parent c45d06e747
commit b1c9847b97
3 changed files with 1 additions and 7 deletions
-4
View File
@@ -1,4 +0,0 @@
#ifndef _BITS_FCNTL_H
#define _BITS_FCNTL_H
#endif
+1 -2
View File
@@ -1,6 +1,5 @@
sys_includes = ["stdarg.h", "sys/types.h"]
sys_includes = ["stdarg.h", "sys/stat.h", "unistd.h"]
include_guard = "_RELIBC_FCNTL_H"
trailer = "#include <bits/fcntl.h>"
language = "C"
style = "Tag"
no_includes = true
-1
View File
@@ -1,7 +1,6 @@
sys_includes = ["stddef.h", "stdint.h", "sys/types.h", "features.h"]
include_guard = "_RELIBC_UNISTD_H"
trailer = """
#include <bits/fcntl.h>
#include <bits/unistd.h>
"""
language = "C"