summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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