diff options
author | Paul Selkirk <paul@psgd.org> | 2016-06-16 16:05:32 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-06-16 20:53:05 -0400 |
commit | 7733c95be8a9e93ae4398c13c721b334239780fe (patch) | |
tree | 23167248232e093961cc1ef152a0b65e476ed688 /main.c | |
parent | 04d48e513f2094345eb697c0a34345daff63a87b (diff) |
Initial cleanup
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -45,7 +45,10 @@ #include "platform.h" /* Platform-specific includes and definitions */ #include "kermit.h" /* Kermit symbols and data structures */ #ifdef __linux +#include <ctype.h> #include <errno.h> +#include <stdlib.h> +#include <unistd.h> #endif /* __linux */ /* @@ -136,7 +139,7 @@ usage() { fprintf(stderr," -d Create debug.log\n"); #endif /* DEBUG */ fprintf(stderr," -h Help (this message)\n"); - doexit(FAILURE); + exit(FAILURE); } void |