mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 08:10:31 -04:00
16 lines
353 B
C
16 lines
353 B
C
- error: "<malloc.h> has been replaced by <stdlib.h>"
|
|
|
|
--- TwPrecomp.h.orig 2021-03-28 08:35:14 UTC
|
|
+++ TwPrecomp.h
|
|
@@ -51,7 +51,11 @@
|
|
# include <GL/glx.h>
|
|
# include <X11/Xatom.h>
|
|
# include <unistd.h>
|
|
+#if !defined(__FreeBSD__)
|
|
# include <malloc.h>
|
|
+#else
|
|
+# include <stdlib.h>
|
|
+#endif
|
|
# undef _WIN32
|
|
# undef WIN32
|
|
# undef _WIN64
|