summaryrefslogtreecommitdiffstats
path: root/tests/c-plus-plus-test-gen.py
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-12 14:38:07 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-12 14:38:07 +0000
commitd7ca19e0f331d70930562149d6e2bd835e72b83c (patch)
treeaac3b36356a185dd233b35c04d69592311d7114c /tests/c-plus-plus-test-gen.py
parent7282cf9916c0cfa15081e14b8bcf62b155182dbd (diff)
update C++ tests, and compile them only when HAVE_NETLINK is set
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@737 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
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:]: