summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2013-01-18 14:36:40 +0100
committerStefan Behnel <stefan_ml@behnel.de>2013-01-18 14:36:40 +0100
commitf2889b8c78792472447a9662698b6cccf718494a (patch)
tree375a536851780c0b3ab96fd07fee8caae020bafb
parent939f8f85deb1730030bfda1fd95a2fdccbb8a713 (diff)
downloadcython-f2889b8c78792472447a9662698b6cccf718494a.tar.gz
work around missing relative cimport support in cythonize()
-rw-r--r--Cython/Includes/libc/locale.pxd2
-rw-r--r--Cython/Includes/libc/stdio.pxd2
-rw-r--r--Cython/Includes/libc/stdlib.pxd2
3 files changed, 3 insertions, 3 deletions
diff --git a/Cython/Includes/libc/locale.pxd b/Cython/Includes/libc/locale.pxd
index f1f59ff6c..ffd08459e 100644
--- a/Cython/Includes/libc/locale.pxd
+++ b/Cython/Includes/libc/locale.pxd
@@ -1,7 +1,7 @@
# 7.11 Localization <locale.h>
# deprecated cimport for backwards compatibility:
-from .string cimport const_char
+from libc.string cimport const_char
cdef extern from "locale.h" nogil:
diff --git a/Cython/Includes/libc/stdio.pxd b/Cython/Includes/libc/stdio.pxd
index 93c9f8404..bc29cfc0e 100644
--- a/Cython/Includes/libc/stdio.pxd
+++ b/Cython/Includes/libc/stdio.pxd
@@ -2,7 +2,7 @@
# deprecated cimports for backwards compatibility:
-from .string cimport const_char, const_void
+from libc.string cimport const_char, const_void
cdef extern from "stdio.h" nogil:
diff --git a/Cython/Includes/libc/stdlib.pxd b/Cython/Includes/libc/stdlib.pxd
index 7c2927b70..0e4766b5d 100644
--- a/Cython/Includes/libc/stdlib.pxd
+++ b/Cython/Includes/libc/stdlib.pxd
@@ -1,7 +1,7 @@
# 7.20 General utilities <stdlib.h>
# deprecated cimports for backwards compatibility:
-from .string cimport const_char, const_void
+from libc.string cimport const_char, const_void
cdef extern from "stdlib.h" nogil: