aboutsummaryrefslogtreecommitdiffstats
path: root/patch_cmds/diffstat/porting/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'patch_cmds/diffstat/porting/getopt.h')
-rw-r--r--patch_cmds/diffstat/porting/getopt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/patch_cmds/diffstat/porting/getopt.h b/patch_cmds/diffstat/porting/getopt.h
new file mode 100644
index 0000000..e02470d
--- /dev/null
+++ b/patch_cmds/diffstat/porting/getopt.h
@@ -0,0 +1,4 @@
+extern char *optarg;
+extern int optind, opterr;
+
+int getopt (int argc, char *const*argv, const char *options);