1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/graphics/ipe/files/patch-ipelib_ipeplatform.cpp
Muhammad Moinur Rahman 488b6cff8b graphics/ipe: fix build with GCC-based architectures
PR:		238066
Submitted by:	pkubaj
2019-06-11 18:47:33 +00:00

16 lines
354 B
C++

--- ipelib/ipeplatform.cpp.orig 2019-05-02 09:29:29 UTC
+++ ipelib/ipeplatform.cpp
@@ -48,7 +48,11 @@
#include <sys/param.h>
#include <sys/errno.h>
#endif
-
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#include <limits.h>
+#include <xlocale.h>
+#include <sys/errno.h>
+#endif
#include <cstdlib>
#include <sys/types.h>
#include <sys/stat.h>