summaryrefslogtreecommitdiff
path: root/test/SWIG
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-08-03 04:53:52 +0000
committerSteven Knight <knight@baldmt.com>2009-08-03 04:53:52 +0000
commit1aba0ca00d56e2dfc739a43025099977e226f2c1 (patch)
treea4ed59fa6956cfc2a9c4585ee862509ac9341ece /test/SWIG
parent04c41de7ad34225adbb1f1a8bcdbf93680920f70 (diff)
downloadscons-1aba0ca00d56e2dfc739a43025099977e226f2c1.tar.gz
Solaris test portability fixes.
Diffstat (limited to 'test/SWIG')
-rw-r--r--test/SWIG/SWIG.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/SWIG/SWIG.py b/test/SWIG/SWIG.py
index 3ddc6861..96e00e71 100644
--- a/test/SWIG/SWIG.py
+++ b/test/SWIG/SWIG.py
@@ -64,6 +64,8 @@ env.Clone(SWIGFLAGS = '-c++').Program(target = 'test3', source = 'test3.i')
""" % locals())
test.write('test1.i', r"""
+#include <stdio.h>
+#include <stdlib.h>
int
main(int argc, char *argv[]) {
argv[argc++] = "--";