Signed-off-by: Xiangfu Liu <[email protected]>
---
src/compiler/compiler.h | 1 +
src/compiler/fpvm.h | 3 ---
src/compiler/parser.y | 4 ++--
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/compiler/compiler.h b/src/compiler/compiler.h
index 95f2dc7..602181c 100644
--- a/src/compiler/compiler.h
+++ b/src/compiler/compiler.h
@@ -21,6 +21,7 @@
#ifndef STANDALONE
#include <rtems.h>
#include <bsp/milkymist_pfpu.h>
+#include <fpvm/fpvm.h>
#else
#include STANDALONE
#endif /* STANDALONE */
diff --git a/src/compiler/fpvm.h b/src/compiler/fpvm.h
index cfee613..ad976db 100644
--- a/src/compiler/fpvm.h
+++ b/src/compiler/fpvm.h
@@ -24,9 +24,6 @@
#ifndef __FPVM_H
#define __FPVM_H
-#include <fpvm/fpvm.h>
-
-
void fpvm_init(struct fpvm_fragment *fragment, int vector_mode);
int fpvm_chunk(struct fpvm_fragment *fragment, const char *chunk);
diff --git a/src/compiler/parser.y b/src/compiler/parser.y
index 23754c0..62409f3 100644
--- a/src/compiler/parser.y
+++ b/src/compiler/parser.y
@@ -21,8 +21,8 @@
#include <stdlib.h>
#include <malloc.h>
#include <math.h>
- #include "fpvm/ast.h"
- #include "fpvm/fpvm.h"
+ #include <fpvm/ast.h>
+ #include <fpvm/fpvm.h>
#include "parser_itf.h"
#include "parser_helper.h"
#include "parser.h"
--
1.7.5.4
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode