File: 03_include_python_header.patch

package info (click to toggle)
python-visual 3.2.9-4.1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 2,796 kB
  • ctags: 2,664
  • sloc: cpp: 11,958; sh: 8,185; python: 3,709; ansic: 480; makefile: 311
file content (11 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- src/num_util_impl_numarray.cpp.orig
+++ src/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>