summaryrefslogtreecommitdiffhomepage
path: root/mixutils/mixvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixutils/mixvm.c')
-rw-r--r--mixutils/mixvm.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mixutils/mixvm.c b/mixutils/mixvm.c
index eafc8a0..d2d64c3 100644
--- a/mixutils/mixvm.c
+++ b/mixutils/mixvm.c
@@ -27,7 +27,12 @@
#include <stdlib.h>
#include <stdio.h>
-#include <getopt.h>
+
+#ifdef HAVE_GETOPT_LONG
+# include <getopt.h>
+#else
+# include <lib/getopt.h>
+#endif /* HAVE_GETOPT_LONG */
extern void
mix_vmloop (const gchar *code_file, gboolean use_emacs);