summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/getopt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/getopt.c b/compat/getopt.c
index 4683647..019049f 100644
--- a/compat/getopt.c
+++ b/compat/getopt.c
@@ -30,7 +30,8 @@
* in the public domain.
*/
-#define EOF (-1)
+#include <stdio.h>
+#include <string.h>
static int opterr = 1;
static int optind = 1;
OpenPOWER on IntegriCloud