mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
12 lines
546 B
Plaintext
12 lines
546 B
Plaintext
--- Modules/_ctypes/libffi/src/dlmalloc.c.orig Fri Apr 18 19:08:34 2014
|
|
+++ Modules/_ctypes/libffi/src/dlmalloc.c Fri Apr 18 19:08:56 2014
|
|
@@ -1200,7 +1200,7 @@ int mspace_mallopt(int, int);
|
|
#ifndef LACKS_UNISTD_H
|
|
#include <unistd.h> /* for sbrk */
|
|
#else /* LACKS_UNISTD_H */
|
|
-#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
|
|
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__minix)
|
|
extern void* sbrk(ptrdiff_t);
|
|
#endif /* FreeBSD etc */
|
|
#endif /* LACKS_UNISTD_H */
|