diff --git a/code/qcommon/vm_x86.c b/code/qcommon/vm_x86.c index 00b5f540..f3de65db 100644 --- a/code/qcommon/vm_x86.c +++ b/code/qcommon/vm_x86.c @@ -36,7 +36,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA /* need this on NX enabled systems (i386 with PAE kernel or * noexec32=on x86_64) */ -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) #define VM_X86_MMAP #endif