gallium: fix build on GNU/kFreeBSD

Patch from Debian package

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
This commit is contained in:
Fabio Pedretti
2013-11-06 10:55:28 +01:00
committed by Andreas Boll
parent 4f4da81dc8
commit 110009302b
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@
#include "rtasm_execmem.h"
#if defined(PIPE_OS_BSD)
#ifndef MAP_ANONYMOUS
#define MAP_ANONYMOUS MAP_ANON
#endif

View File

@@ -190,7 +190,7 @@
#define PIPE_OS_ANDROID
#endif
#if defined(__FreeBSD__)
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#define PIPE_OS_FREEBSD
#define PIPE_OS_BSD
#define PIPE_OS_UNIX