summaryrefslogtreecommitdiff
path: root/graphics/hdr_tools/files/patch-helpers.hh
blob: 444bd37e415a463cdacc9595a782d7ea03ec989b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- helpers.hh.orig	2010-11-23 21:22:51 UTC
+++ helpers.hh
@@ -35,6 +35,14 @@
 
 #include <stdint.h>
 
+#if defined __FreeBSD__
+#include <osreldate.h>
+#if __FreeBSD_version < 1000034
+extern "C" {
+#include <mathl.h>
+}
+#endif
+#endif