From 3028b6ede624410d40ab7c77a67b62fc6ad3a8f0 Mon Sep 17 00:00:00 2001 From: Brad Date: Sat, 2 Apr 2011 17:16:59 -0400 Subject: 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 --- libavutil/ppc/cpu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavutil/ppc') diff --git a/libavutil/ppc/cpu.c b/libavutil/ppc/cpu.c index 85c1f2ca11..6b122ed8c4 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 -- cgit v1.2.3