summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat/getopt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/getopt.c b/compat/getopt.c
index 3a873b27ee..c7f8ef3260 100644
--- a/compat/getopt.c
+++ b/compat/getopt.c
@@ -30,6 +30,9 @@
* in the public domain.
*/
+#include <stdio.h>
+#include <string.h>
+
#define EOF (-1)
static int opterr = 1;