netstar pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=ac52e6e08a14f39d96b5ab9b6869570f920f839b
commit ac52e6e08a14f39d96b5ab9b6869570f920f839b Author: Alastair Poole <[email protected]> Date: Thu Feb 4 10:27:01 2021 +0000 e_system: Add missing FreeBSD version check. --- src/bin/system/e_system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/system/e_system.h b/src/bin/system/e_system.h index 74c82fcd8..7d8e77bfd 100644 --- a/src/bin/system/e_system.h +++ b/src/bin/system/e_system.h @@ -74,7 +74,7 @@ void *alloca (size_t); # include <sys/sysctl.h> #endif -#if defined (__FreeBSD_kernel__) +#if defined (__FreeBSD__) && (__FreeBSD__ > 12) # include <sys/ioctl.h> # include <sys/backlight.h> #endif --
