ports/graphics/xfractint/files/patch-common__prompts2.c
Fernando Apesteguía 36f6324e7b graphics/xfractint: Update to 20.04p16
ChangeLog: https://fractint.net/ftp/current/dos/whatsnew.txt

PR:	253107
Submitted by:	m.ne@gmx.net
Approved by:	onemda@gmail.com (maintainer, timeout > 2 weeks)
2021-02-19 07:40:00 +00:00

20 lines
431 B
C

--- common/prompts2.c.orig 2015-08-08 13:22:41 UTC
+++ common/prompts2.c
@@ -12,7 +12,7 @@
#ifdef DIRENT
#include <dirent.h>
-#elif !defined(__SVR4)
+#elif !defined(__SVR4) && !defined(__FreeBSD__)
#include <sys/dir.h>
#else
#include <dirent.h>
@@ -26,7 +26,7 @@
#include <alloc.h>
#elif defined(__APPLE__)
#include <malloc/malloc.h>
-#elif !defined(__386BSD__)
+#elif !defined(BIG_ANSI_C)
#include <malloc.h>
#endif