diff --git a/aegilib/aegilib.vcproj b/aegilib/aegilib.vcproj
index b526eca75..c62dd0d9b 100644
--- a/aegilib/aegilib.vcproj
+++ b/aegilib/aegilib.vcproj
@@ -227,6 +227,10 @@
RelativePath=".\include\aegilib\tokenizer.h"
>
+
+
@@ -324,6 +328,10 @@
RelativePath=".\src\tokenizer.cpp"
>
+
+
(b)) ? (a) : (b))
-#endif
-#ifndef MIN
-#define MIN(a,b) (((a) < (b)) ? (a) : (b))
-#endif
-#ifndef MID
-#define MID(a,b,c) MIN(MAX((a),(b)),(c))
-#endif
\ No newline at end of file
+#include "utils.h"
diff --git a/aegilib/include/aegilib/section.h b/aegilib/include/aegilib/section.h
index 128b7b808..60adaf006 100644
--- a/aegilib/include/aegilib/section.h
+++ b/aegilib/include/aegilib/section.h
@@ -37,6 +37,7 @@
#include "aegistring.h"
#include "section_entry.h"
#include
+#include