diff --git a/loader/main.c b/loader/main.c index e19b1bb5502..8434d816cee 100644 --- a/loader/main.c +++ b/loader/main.c @@ -174,7 +174,7 @@ static int pre_exec(void) return 1; /* we have a preloader on x86-64 */ } -#elif defined(__FreeBSD__) && defined(__i386__) +#elif (defined(__FreeBSD__) || defined (__FreeBSD_kernel__)) && defined(__i386__) static int pre_exec(void) {