e_system: Add missing FreeBSD version check.

This commit is contained in:
Alastair Poole 2021-02-04 10:27:01 +00:00
parent 8629f7e735
commit ac52e6e08a
1 changed files with 1 additions and 1 deletions

View File

@ -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