diff options
Diffstat (limited to 'mach/errsystems.awk')
-rw-r--r-- | mach/errsystems.awk | 6 |
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\ |