$NetBSD: patch-af,v 1.1.1.1 2004/01/26 13:03:38 jmmv Exp $ --- src/xine-utils/ppcasm_string.S.orig 2003-10-24 09:52:09.000000000 +1000 +++ src/xine-utils/ppcasm_string.S 2003-10-24 09:52:39.000000000 +1000 @@ -18,6 +18,7 @@ #warning Be forewarned - using PowerPC assembly +#ifdef __linux__ #define __KERNEL__ #define __ASSEMBLY__ @@ -26,6 +27,13 @@ #include #include #include +#endif + +#ifdef __NetBSD__ +#define _STANDALONE + +#include +#endif #define COPY_16_BYTES \ lwz r7,4(r4); \