summaryrefslogtreecommitdiffstats
path: root/tests/c-plus-plus-test-gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/c-plus-plus-test-gen.py')
-rwxr-xr-xtests/c-plus-plus-test-gen.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/c-plus-plus-test-gen.py b/tests/c-plus-plus-test-gen.py
index 6b18db6..46d6762 100755
--- a/tests/c-plus-plus-test-gen.py
+++ b/tests/c-plus-plus-test-gen.py
@@ -51,6 +51,11 @@ print """/* $Id$ */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA.
***/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
"""
for f in sys.argv[1:]: