diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2012-03-20 20:07:56 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2012-03-20 20:07:56 +0000 |
commit | 347f2782d29cd5af35551e259287f6fe779ae969 (patch) | |
tree | ab1b8b0e24739ffdcb2c2d234493d3c03055c868 /Lib/octave | |
parent | e91a00ae50e60bb9b7f92f4bb563130ad6a70f50 (diff) | |
download | swig-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.swg | 2 | ||||
-rw-r--r-- | Lib/octave/octiterators.swg | 4 |
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 |