diff options
author | Brad <brad@comstyle.com> | 2011-04-02 17:16:59 -0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-04-10 05:02:29 +0200 |
commit | 3028b6ede624410d40ab7c77a67b62fc6ad3a8f0 (patch) | |
tree | b32ac7c4b71d834edc2c4dc66c0b466bf662c7f5 /libavutil/ppc | |
parent | 73389754c911bc3171019f0bb98b7aeeb0ef32e6 (diff) | |
download | ffmpeg-3028b6ede624410d40ab7c77a67b62fc6ad3a8f0.tar.gz |
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 <lu_zero@gentoo.org>
Diffstat (limited to 'libavutil/ppc')
-rw-r--r-- | libavutil/ppc/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <sys/sysctl.h> #elif defined(__OpenBSD__) +#undef _POSIX_C_SOURCE #include <sys/param.h> #include <sys/sysctl.h> #include <machine/cpu.h> |