Remove malloc.h include
Ryan Schmidt <[email protected]> Fri, 17 Dec 2021 00:04:19 -0600
| Newsgroups | gmane.comp.video.xine.devel |
|---|---|
| Message-ID | <[email protected]> |
xine-ui 0.99.13 fails to build on macOS 10.15.7 because: backend_x11.c:33:10: fatal error: 'malloc.h' file not found Remove the line "#include <malloc.h>" from the file src/xitk/xine-toolkit/backend_x11.c to fix this. malloc.h is a nonstandard header used only by Linux. The malloc function is defined by C89 to appear in stdlib.h which is already included in this source file.