replace sys_types include in monetary header with bits
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
# - "The <monetary.h> header shall define the locale_t type as described in <locale.h>."
|
||||
# - "The <monetary.h> header shall define the size_t type as described in <stddef.h>."
|
||||
# - "The <monetary.h> header shall define the ssize_t type as described in <sys/types.h>."
|
||||
#
|
||||
# sys/types.h brings in stddef.h
|
||||
sys_includes = ["sys/types.h"]
|
||||
sys_includes = []
|
||||
include_guard = "_RELIBC_MONETARY_H"
|
||||
after_includes = """
|
||||
#include <bits/locale-t.h> // for locale_t from locale.h
|
||||
#include <bits/size-t.h> // for size_t from stddef.h
|
||||
#include <bits/ssize-t.h> // for ssize_t from sys/types.h
|
||||
"""
|
||||
language = "C"
|
||||
style = "tag"
|
||||
|
||||
Reference in New Issue
Block a user