mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 18:41:17 +02:00
15 lines
471 B
C++
15 lines
471 B
C++
--- ./tools/exp_combine.cpp.orig 2011-09-29 21:10:17.000000000 +0400
|
|
+++ ./tools/exp_combine.cpp 2013-02-08 12:22:03.000000000 +0400
|
|
@@ -6,6 +6,11 @@
|
|
#include <cerrno>
|
|
#include <cmath>
|
|
|
|
+#include <sys/param.h>
|
|
+#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
|
|
+#define log2f(x) (logf(x) / logf(2))
|
|
+#endif
|
|
+
|
|
#include <iostream>
|
|
|
|
#include <exiv2/image.hpp>
|