aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ipe/files/patch-ipelib_ipeplatform.cpp
blob: 89d6d8362a52ff0a826e7b0a0dae351bc3719fb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ipelib/ipeplatform.cpp.orig	2020-12-24 12:20:13 UTC
+++ ipelib/ipeplatform.cpp
@@ -49,6 +49,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
 
 #ifdef IPE_GSL
 #include <gsl/gsl_errno.h>