summaryrefslogtreecommitdiff
path: root/Lib/octave
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2012-03-20 20:07:56 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2012-03-20 20:07:56 +0000
commit347f2782d29cd5af35551e259287f6fe779ae969 (patch)
treeab1b8b0e24739ffdcb2c2d234493d3c03055c868 /Lib/octave
parente91a00ae50e60bb9b7f92f4bb563130ad6a70f50 (diff)
downloadswig-347f2782d29cd5af35551e259287f6fe779ae969.tar.gz
Fix missing stddef.h when %import of STL containers. Was causing compile failures witht g++-4.6.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/octave')
-rw-r--r--Lib/octave/octcontainer.swg2
-rw-r--r--Lib/octave/octiterators.swg4
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/octave/octcontainer.swg b/Lib/octave/octcontainer.swg
index 4f14ccef1..b14b8c194 100644
--- a/Lib/octave/octcontainer.swg
+++ b/Lib/octave/octcontainer.swg
@@ -63,7 +63,7 @@ namespace swig {
}
}
-%fragment("OctSequence_Base","header")
+%fragment("OctSequence_Base","header",fragment="<stddef.h>")
{
%#include <functional>
diff --git a/Lib/octave/octiterators.swg b/Lib/octave/octiterators.swg
index 0e3fe7033..79a20f833 100644
--- a/Lib/octave/octiterators.swg
+++ b/Lib/octave/octiterators.swg
@@ -9,7 +9,7 @@
%include <std_common.i>
-%fragment("OctSwigIterator","header") {
+%fragment("OctSwigIterator","header",fragment="<stddef.h>") {
namespace swig {
struct stop_iteration {
};
@@ -113,7 +113,7 @@ namespace swig {
}
}
-%fragment("OctSwigIterator_T","header",fragment="OctSwigIterator",fragment="StdTraits",fragment="StdIteratorTraits") {
+%fragment("OctSwigIterator_T","header",fragment="<stddef.h>",fragment="OctSwigIterator",fragment="StdTraits",fragment="StdIteratorTraits") {
namespace swig {
template<typename OutIterator>
class OctSwigIterator_T : public OctSwigIterator