diff options
-rw-r--r-- | makefile | 3 | ||||
-rw-r--r-- | src/emu/video/rgbutil.c | 1 | ||||
-rw-r--r-- | src/emu/video/rgbvmx.h | 2 |
3 files changed, 5 insertions, 1 deletions
@@ -83,6 +83,9 @@ endif ifeq ($(firstword $(filter FreeBSD,$(UNAME))),FreeBSD) TARGETOS = freebsd endif +ifeq ($(firstword $(filter GNU/kFreeBSD,$(UNAME))),GNU/kFreeBSD) +TARGETOS = freebsd +endif ifeq ($(firstword $(filter OpenBSD,$(UNAME))),OpenBSD) TARGETOS = openbsd endif diff --git a/src/emu/video/rgbutil.c b/src/emu/video/rgbutil.c index 62bb0283265..7f922dce948 100644 --- a/src/emu/video/rgbutil.c +++ b/src/emu/video/rgbutil.c @@ -164,6 +164,7 @@ const struct _rgbsse_statics rgbsse_statics = ***************************************************************************/ #if defined(__ALTIVEC__) +#include <altivec.h> const struct _rgbvmx_statics rgbvmx_statics = { { 255, 255, 255, 255, 255, 255, 255, 255 }, diff --git a/src/emu/video/rgbvmx.h b/src/emu/video/rgbvmx.h index 5cde7aab02a..74db11d7362 100644 --- a/src/emu/video/rgbvmx.h +++ b/src/emu/video/rgbvmx.h @@ -12,7 +12,7 @@ #ifndef __RGBVMX__ #define __RGBVMX__ -#ifndef __APPLE_ALTIVEC__ +#if defined(__ALTIVEC__) #include <altivec.h> #endif |