summaryrefslogtreecommitdiffstats
path: root/utils/raptor_getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/raptor_getopt.h')
-rw-r--r--utils/raptor_getopt.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/utils/raptor_getopt.h b/utils/raptor_getopt.h
new file mode 100644
index 0000000..56ba8ea
--- /dev/null
+++ b/utils/raptor_getopt.h
@@ -0,0 +1,21 @@
+/*
+ * Public Domain getopt header
+ *
+ */
+
+#ifndef RAPTOR_GETOPT_H
+#define RAPTOR_GETOPT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int getopt(int argc, char * const argv[], const char *optstring);
+extern char *optarg;
+extern int optind, opterr, optopt;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif