Skip to content

Commit

Permalink
Fix a couple more system header includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwb committed Aug 17, 2016
1 parent f0ccd68 commit 7bc65be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Cython/Utility/MemoryView.pyx
Expand Up @@ -19,7 +19,7 @@ cdef extern from "pythread.h":
int PyThread_acquire_lock(PyThread_type_lock, int mode) 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)

cdef extern from *:
Expand Down Expand Up @@ -87,7 +87,7 @@ cdef extern from *:
int ndim, size_t itemsize) nogil


cdef extern from "stdlib.h":
cdef extern from "<stdlib.h>":
void *malloc(size_t) nogil
void free(void *) nogil
void *memcpy(void *dest, void *src, size_t n) nogil
Expand Down Expand Up @@ -773,11 +773,11 @@ cdef memoryview memview_slice(memoryview memview, object indices):
### Slicing in a single dimension of a memoryviewslice
#

cdef extern from "stdlib.h":
cdef extern from "<stdlib.h>":
void abort() nogil
void printf(char *s, ...) nogil

cdef extern from "stdio.h":
cdef extern from "<stdio.h>":
ctypedef struct FILE
FILE *stderr
int fputs(char *s, FILE *stream)
Expand Down

0 comments on commit 7bc65be

Please sign in to comment.