summaryrefslogtreecommitdiff
path: root/utils/raptor_getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/raptor_getopt.h')
-rw-r--r--utils/raptor_getopt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/raptor_getopt.h b/utils/raptor_getopt.h
index 4bf93cde..9d6d54c8 100644
--- a/utils/raptor_getopt.h
+++ b/utils/raptor_getopt.h
@@ -12,6 +12,11 @@ int raptor_getopt(int argc, char * const argv[], const char *optstring);
extern char *raptor_optarg;
extern int raptor_optind, raptor_opterr, raptor_optopt;
+/* Ensure we link with raptor version */
#define getopt raptor_getopt
+#define optind raptor_optind
+#define optarg raptor_optarg
+#define opterr raptor_opterr
+#define optopt raptor_optopt
#endif