summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--domount.c3
-rw-r--r--getopt.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/domount.c b/domount.c
index 8982684..da85d21 100644
--- a/domount.c
+++ b/domount.c
@@ -8,6 +8,9 @@
*/
#include <stdio.h>
+#ifdef LINUX
+#include <stdlib.h>
+#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 <string.h>
+#ifdef LINUX
+#include <stdlib.h>
+#endif
int opterr = 1;
int optind = 1;