openbsd-ports/graphics/ffmpeg/patches/patch-libavutil_ppc_cpu_c

12 lines
371 B
Plaintext
Raw Normal View History

$OpenBSD: patch-libavutil_ppc_cpu_c,v 1.2 2011/04/12 22:59:07 sthen Exp $
--- libavutil/ppc/cpu.c.orig Mon Mar 28 19:23:17 2011
+++ libavutil/ppc/cpu.c Sat Apr 2 01:04:37 2011
@@ -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>