summaryrefslogtreecommitdiffhomepage
path: root/mixutils/mixvm.c
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-04-07 22:12:31 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-04-07 22:12:31 +0000
commit10418b21cfb99f506743af0ca3d5f338c13079cd (patch)
treed4f3dbf2b6a4e5c2a41f15978d146d8d36b63f79 /mixutils/mixvm.c
parenta161fa578bd50daf971186d0be08d89619aa58d1 (diff)
downloadmdk-10418b21cfb99f506743af0ca3d5f338c13079cd.tar.gz
mdk-10418b21cfb99f506743af0ca3d5f338c13079cd.tar.bz2
getopt and getopt_long provided if missing
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);