diff --git a/include/oaknut/feature_detection/feature_detection_freebsd.hpp b/include/oaknut/feature_detection/feature_detection_freebsd.hpp index 714408e..efb3c66 100644 --- a/include/oaknut/feature_detection/feature_detection_freebsd.hpp +++ b/include/oaknut/feature_detection/feature_detection_freebsd.hpp @@ -7,6 +7,7 @@ #include #include +#include #include "oaknut/feature_detection/cpu_feature.hpp" #include "oaknut/feature_detection/feature_detection_hwcaps.hpp" @@ -20,6 +21,10 @@ # define AT_HWCAP2 26 #endif +#if __FreeBSD_version < 1300114 +# error "Incompatible ABI change (incorrect HWCAP definitions on earlier FreeBSD versions)" +#endif + namespace oaknut { namespace detail {