From d720dd786be35396b2f58d1a08e536ebddaa356e Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Tue, 12 Aug 2014 11:39:45 -0400 Subject: Eliminated implicit declaration of 'exit' warnings Signed-off-by: Steve Dickson --- domount.c | 3 +++ getopt.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/domount.c b/domount.c index 8982684..da85d21 100644 --- a/domount.c +++ b/domount.c @@ -8,6 +8,9 @@ */ #include +#ifdef LINUX +#include +#endif main(argc, argv) int argc; diff --git a/getopt.c b/getopt.c index da64713..222037c 100644 --- a/getopt.c +++ b/getopt.c @@ -36,6 +36,9 @@ (void) write(2, errbuf, 2);} #include +#ifdef LINUX +#include +#endif int opterr = 1; int optind = 1; -- cgit