aboutsummaryrefslogtreecommitdiff
path: root/mach/errsystems.awk
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-02-16 03:55:27 +0000
committerRoland McGrath <roland@gnu.org>2003-02-16 03:55:27 +0000
commitb0104b6f8d369692d0ca8f265b631a87df7eaeed (patch)
tree555ffba82bc5007faae6c14b52a648d050e09b7d /mach/errsystems.awk
parent8321ef15ae777fc7e7a0716e2e931adb099f310a (diff)
downloadglibc-b0104b6f8d369692d0ca8f265b631a87df7eaeed.zip
glibc-b0104b6f8d369692d0ca8f265b631a87df7eaeed.tar.gz
glibc-b0104b6f8d369692d0ca8f265b631a87df7eaeed.tar.bz2
* mach/errsystems.awk: Include <errno.h> in generated output.
Diffstat (limited to 'mach/errsystems.awk')
-rw-r--r--mach/errsystems.awk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mach/errsystems.awk b/mach/errsystems.awk
index b01c1bd..a5e9360 100644
--- a/mach/errsystems.awk
+++ b/mach/errsystems.awk
@@ -1,6 +1,8 @@
BEGIN {
- print "#include <mach/error.h>\n#include <errorlib.h>";
- print "#define static static const"
+ print "#include <errno.h>";
+ print "#include <mach/error.h>";
+ print "#include <errorlib.h>";
+ print "#define static static const";
nsubs = split(subsys, subs);
while (nsubs > 0) printf "#include \"%s\"\n", subs[nsubs--];
print "\n\n\