Commit 7bc65bef authored by Robert Bradshaw's avatar Robert Bradshaw

Fix a couple more system header includes.

parent f0ccd685
...@@ -19,7 +19,7 @@ cdef extern from "pythread.h": ...@@ -19,7 +19,7 @@ cdef extern from "pythread.h":
int PyThread_acquire_lock(PyThread_type_lock, int mode) nogil int PyThread_acquire_lock(PyThread_type_lock, int mode) nogil
void PyThread_release_lock(PyThread_type_lock) nogil void PyThread_release_lock(PyThread_type_lock) nogil
cdef extern from "string.h": cdef extern from "<string.h>":
void *memset(void *b, int c, size_t len) void *memset(void *b, int c, size_t len)
cdef extern from *: cdef extern from *:
...@@ -87,7 +87,7 @@ cdef extern from *: ...@@ -87,7 +87,7 @@ cdef extern from *:
int ndim, size_t itemsize) nogil int ndim, size_t itemsize) nogil
cdef extern from "stdlib.h": cdef extern from "<stdlib.h>":
void *malloc(size_t) nogil void *malloc(size_t) nogil
void free(void *) nogil void free(void *) nogil
void *memcpy(void *dest, void *src, size_t n) nogil void *memcpy(void *dest, void *src, size_t n) nogil
...@@ -773,11 +773,11 @@ cdef memoryview memview_slice(memoryview memview, object indices): ...@@ -773,11 +773,11 @@ cdef memoryview memview_slice(memoryview memview, object indices):
### Slicing in a single dimension of a memoryviewslice ### Slicing in a single dimension of a memoryviewslice
# #
cdef extern from "stdlib.h": cdef extern from "<stdlib.h>":
void abort() nogil void abort() nogil
void printf(char *s, ...) nogil void printf(char *s, ...) nogil
cdef extern from "stdio.h": cdef extern from "<stdio.h>":
ctypedef struct FILE ctypedef struct FILE
FILE *stderr FILE *stderr
int fputs(char *s, FILE *stream) int fputs(char *s, FILE *stream)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment