blob: 04aa5fe427a5bc36be87f1a69fa705a0479f7093 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/lef.h.orig 2020-03-19 05:44:48 UTC
+++ src/lef.h
@@ -28,7 +28,7 @@ typedef unsigned long u_long;
#endif /* _SYS_TYPES_H */
/* Compare functions aren't defined in the Mac's standard library */
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
typedef int (*__compar_fn_t)(const void*, const void*);
#endif
|