git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
waf: disable-python - don't include python.h in test_headers.c
[sfrench/samba-autobuild/.git]
/
testsuite
/
headers
/
test_headers.c
diff --git
a/testsuite/headers/test_headers.c
b/testsuite/headers/test_headers.c
index a36575fbb3eb2fc01093ea7b68aab48239197dce..4e63e99899515e62d0b96a8ae06c52dbb11fa39d 100644
(file)
--- a/
testsuite/headers/test_headers.c
+++ b/
testsuite/headers/test_headers.c
@@
-23,7
+23,9
@@
#define _GNU_SOURCE 1
-#include <Python.h>
+#ifdef HAVE_PYTHON_H
+# include <Python.h>
+#endif
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>