File: 1003_include_python_header.patch

package info (click to toggle)
python-visual 1%3A5.12-1.5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,708 kB
  • sloc: cpp: 15,593; sh: 9,615; ansic: 6,631; python: 4,737; makefile: 385
file content (11 lines) | stat: -rw-r--r-- 435 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
diff --git a/src/python/num_util_impl_numarray.cpp b/src/python/num_util_impl_numarray.cpp
--- a/src/python/num_util_impl_numarray.cpp
+++ b/src/python/num_util_impl_numarray.cpp
@@ -6,6 +6,7 @@
 #ifdef VISUAL_HAVE_NUMARRAY
 # define libnumeric_UNIQUE_SYMBOL visual_libnumeric_API
 # define libnumarray_UNIQUE_SYMBOL visual_libnumarray_API
+# include <Python.h>
 # include <numarray/libnumarray.h>
 # include <numarray/libnumeric.h>