summaryrefslogtreecommitdiffhomepage
path: root/mixutils/mixasm.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
commitf04079445c658f3cc857cd61bd20c2839d32843a (patch)
tree425d7496af828731abf0e58ecf45c08e0b3f1ccd /mixutils/mixasm.c
parent0832e7be5d31d146d6fce0e437ad2258723aeb05 (diff)
downloadmdk-f04079445c658f3cc857cd61bd20c2839d32843a.tar.gz
mdk-f04079445c658f3cc857cd61bd20c2839d32843a.tar.bz2
getopt and getopt_long provided if missing
Diffstat (limited to 'mixutils/mixasm.c')
-rw-r--r--mixutils/mixasm.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mixutils/mixasm.c b/mixutils/mixasm.c
index 64f0f3d..c8ece5b 100644
--- a/mixutils/mixasm.c
+++ b/mixutils/mixasm.c
@@ -23,7 +23,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 */
#include "mixasm_comp.h"