summaryrefslogtreecommitdiff
path: root/graphics/osgearth/files/patch-src_osgEarthDrivers_fastdxt_util.h
blob: 4c51babc9b43ec156aab2782a0d3ade3a03aa057 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/osgEarthDrivers/fastdxt/util.h.orig	2018-11-18 08:00:00 UTC
+++ src/osgEarthDrivers/fastdxt/util.h
@@ -64,7 +64,7 @@ void aFree(void* const p);
 float drand48(void);
 #endif
 
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__FreeBSD__)
 #define memalign(x,y) malloc((y))
 #else
 #include <malloc.h>