ports/graphics/openjpeg/files/patch-opj_malloc.h
Guido Falsi 2ac0481f0e - Convert to staging
- Convert LIB_DEPENDS to new format
- Use DOS2UNIX and regenerate patch without DOS style newlines
2013-10-10 00:19:01 +00:00

12 lines
389 B
C

--- libopenjpeg/opj_malloc.h.orig 2013-10-08 17:19:09.755013928 +0200
+++ libopenjpeg/opj_malloc.h 2013-10-08 17:20:11.403012744 +0200
@@ -85,8 +85,7 @@
#define HAVE_MEMALIGN
/* Linux x86_64 and OSX always align allocations to 16 bytes */
#elif !defined(__amd64__) && !defined(__APPLE__)
- #define HAVE_MEMALIGN
- #include <malloc.h>
+ #include <stdlib.h>
#endif
#endif