$OpenBSD: patch-stepcore_types_h,v 1.1.1.1 2013/04/24 19:06:28 zhuk Exp $
[ 98%] Building CXX object stepcore_tests/CMakeFiles/tests.dir/worldcopy.o
cd /usr/ports/pobj/step-4.7.1/build-i386/stepcore_tests && /usr/bin/c++   -DSTEPCORE_WITH_QT -DSTEPCORE_WITH_GSL -DQT_TEST_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -O2 -pipe   -Woverloaded-v
irtual -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -I/usr/ports/pobj/step-4.7.1/build-i386/stepcore_tests -I/usr/ports/pobj/step-4
.7.1/step-4.7.1/stepcore_tests -I/usr/ports/pobj/step-4.7.1/step-4.7.1 -I/usr/local/include/eigen2 -I/usr/local/include/X11/qt4 -I/usr/local/include/X11/qt4/QtTest -I/usr/local/incl
ude/X11/qt4/QtCore    -Wall -o CMakeFiles/tests.dir/worldcopy.o -c /usr/ports/pobj/step-4.7.1/step-4.7.1/stepcore_tests/worldcopy.cc
In file included from /usr/ports/pobj/step-4.7.1/step-4.7.1/stepcore/types.h:28,
                 from /usr/ports/pobj/step-4.7.1/step-4.7.1/stepcore/world.h:26,
                 from /usr/ports/pobj/step-4.7.1/step-4.7.1/stepcore_tests/worldcopy.cc:20:
/usr/local/include/eigen2/Eigen/StdVector:9:2: error: #error you must include <Eigen/StdVector> before <vector>. Also note that <Eigen/Sparse> includes <vector>, so it must be inclu
ded after <Eigen/StdVector> too.
--- stepcore/types.h.orig	Tue Oct 11 05:35:52 2011
+++ stepcore/types.h	Tue Oct 11 05:41:00 2011
@@ -23,11 +23,11 @@
 #ifndef STEPCORE_TYPES_H
 #define STEPCORE_TYPES_H
 
-#include "object.h"
-#include "vector.h"
 #include <Eigen/StdVector>
-#include <QByteArray>
 #include <Eigen/Sparse>
+#include <QByteArray>
+#include "object.h"
+#include "vector.h"
 
 namespace StepCore {
 
