File mtl-2.1.2-gcc46.patch of Package mtl

Index: BUILD/mtl/external_vector.h
===================================================================
--- BUILD.orig/mtl/external_vector.h
+++ BUILD/mtl/external_vector.h
@@ -3,6 +3,7 @@
 
 #include "mtl/mtl_iterator.h"
 #include "mtl/mtl_exception.h"
+#include <cstddef>
 
 namespace mtl {
 
Index: BUILD/mtl/light1D.h
===================================================================
--- BUILD.orig/mtl/light1D.h
+++ BUILD/mtl/light1D.h
@@ -12,6 +12,7 @@
 #ifndef MTL_LIGHT1D_H
 #define MTL_LIGHT1D_H
 
+#include <cstddef>
 #include "mtl/mtl_iterator.h"
 
 #include "mtl/mtl_config.h"
openSUSE Build Service is sponsored by