summaryrefslogtreecommitdiff
path: root/missing/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/getopt.c')
-rw-r--r--missing/getopt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/missing/getopt.c b/missing/getopt.c
index 14cd6a32..cc798e1d 100644
--- a/missing/getopt.c
+++ b/missing/getopt.c
@@ -39,6 +39,8 @@ static char sccsid[] = "@(#)getopt.c 8.3 (Berkeley) 4/27/95";
#include <stdlib.h>
#include <string.h>
+#include "getopt.h"
+
int opterr = 1, /* if error message should be printed */
optind = 1, /* index into parent argv vector */
optopt, /* character checked for validity */