diff options
author | Ori Bernstein <orib@google.com> | 2012-10-01 16:52:29 -0400 |
---|---|---|
committer | Ori Bernstein <orib@google.com> | 2012-10-01 16:52:29 -0400 |
commit | 92d743d5e5eaf030196e52bdcc94b8c1735c1219 (patch) | |
tree | efec5aa10c2023dccffacf4b1e2082a2a8a176b3 /muse | |
parent | 410752ea2d5f6661e363379d14bd255521ca46e7 (diff) | |
download | mc-92d743d5e5eaf030196e52bdcc94b8c1735c1219.tar.gz |
Fix include paths for build files
Diffstat (limited to 'muse')
-rw-r--r-- | muse/muse.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/muse/muse.c b/muse/muse.c index 42ae747..b586641 100644 --- a/muse/muse.c +++ b/muse/muse.c @@ -11,6 +11,8 @@ #include "parse.h" +#include "../config.h" + /* FIXME: move into one place...? */ Node *file; char *outfile; @@ -87,6 +89,7 @@ int main(int argc, char **argv) int opt; int i; + lappend(&incpaths, &nincpaths, Instroot "/lib/myr"); while ((opt = getopt(argc, argv, "d::hmo:I:")) != -1) { switch (opt) { case 'h': @@ -104,9 +107,9 @@ int main(int argc, char **argv) while (optarg && *optarg) debugopt[*optarg++ & 0x7f] = 1; break; - case 'I': - lappend(&incpaths, &nincpaths, optarg); - break; + case 'I': + lappend(&incpaths, &nincpaths, optarg); + break; default: usage(argv[0]); exit(0); |