From: Brad Date: Sat, 2 Apr 2011 21:16:59 +0000 (-0400) Subject: os: fix OpenBSD/PowerPC compilation X-Git-Tag: v0.7b2~407 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=3028b6ede624410d40ab7c77a67b62fc6ad3a8f0;p=coroid%2Flibav_saccubus.git os: fix OpenBSD/PowerPC compilation When attempting to re-enable the AltiVec support it was noticed that we need to undefine _POSIX_C_SOURCE to appease the headers for ff_get_cpu_flags_ppc() to be able to compile. Signed-off-by: Luca Barbato --- diff --git a/libavutil/ppc/cpu.c b/libavutil/ppc/cpu.c index 85c1f2ca1..6b122ed8c 100644 --- a/libavutil/ppc/cpu.c +++ b/libavutil/ppc/cpu.c @@ -20,6 +20,7 @@ #undef _POSIX_C_SOURCE #include #elif defined(__OpenBSD__) +#undef _POSIX_C_SOURCE #include #include #include