Blob Blame Raw
diff -up highlight-2.6.13/src/main.cpp.gcc43 highlight-2.6.13/src/main.cpp
--- highlight-2.6.13/src/main.cpp.gcc43	2008-09-30 03:45:45.000000000 +0200
+++ highlight-2.6.13/src/main.cpp	2008-10-14 17:05:53.000000000 +0200
@@ -23,6 +23,9 @@
 #include "main.h"
 #include "re/Pattern.h"
 
+#include <algorithm>
+#include <memory>
+
 #define MAX_LINE__WIDTH       80
 
 using namespace std;
diff -up highlight-2.6.13/src/makefile.gcc43 highlight-2.6.13/src/makefile
--- highlight-2.6.13/src/makefile.gcc43	2008-10-14 17:25:04.000000000 +0200
+++ highlight-2.6.13/src/makefile	2008-10-14 17:26:42.000000000 +0200
@@ -69,7 +69,7 @@ endif
 compile: ${OBJECTFILES} libhighlight.a
 	${BUILD_CMD}
 
-libhighlight.a:
+libhighlight.a: ${CORE_OBJECTS}
 	echo "compile lib...."
 	${AR} ${ARFLAGS} libhighlight.a ${CORE_OBJECTS}
 
diff -up highlight-2.6.13/src/platform_fs.cpp.gcc43 highlight-2.6.13/src/platform_fs.cpp
--- highlight-2.6.13/src/platform_fs.cpp.gcc43	2008-09-10 21:34:37.000000000 +0200
+++ highlight-2.6.13/src/platform_fs.cpp	2008-10-14 17:05:53.000000000 +0200
@@ -36,6 +36,8 @@
 #include <iostream>
 #include <errno.h>
 
+#include <algorithm>
+
 using namespace std;
 
 namespace Platform {