summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-06-16 16:05:32 -0400
committerPaul Selkirk <paul@psgd.org>2016-06-16 20:53:05 -0400
commit7733c95be8a9e93ae4398c13c721b334239780fe (patch)
tree23167248232e093961cc1ef152a0b65e476ed688 /main.c
parent04d48e513f2094345eb697c0a34345daff63a87b (diff)
Initial cleanup
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index e56db3c..5bb398f 100644
--- a/main.c
+++ b/main.c
@@ -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