summaryrefslogtreecommitdiffstats
path: root/libc/spec/stdc.td
diff options
context:
space:
mode:
Diffstat (limited to 'libc/spec/stdc.td')
-rw-r--r--libc/spec/stdc.td13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/spec/stdc.td b/libc/spec/stdc.td
index 154214dc516..a17a3872fa2 100644
--- a/libc/spec/stdc.td
+++ b/libc/spec/stdc.td
@@ -170,7 +170,20 @@ def StdC : StandardSpec<"stdc"> {
]
>;
+ HeaderSpec Errno = HeaderSpec<
+ "errno.h",
+ [
+ Macro<"errno">,
+ Macro<"EDOM">,
+ Macro<"EILSEQ">,
+ Macro<"ERANGE">,
+ ],
+ [], // Types
+ [] // Functions
+ >;
+
let Headers = [
+ Errno,
Math,
String,
StdIO,
OpenPOWER on IntegriCloud