$OpenBSD: patch-third_party_ffmpeg_libavcodec_pthread_c,v 1.3 2013/05/30 18:42:18 robert Exp $
--- third_party/ffmpeg/libavcodec/pthread.c.orig.port	Fri May 17 22:46:36 2013
+++ third_party/ffmpeg/libavcodec/pthread.c	Thu May 30 00:10:49 2013
@@ -41,9 +41,7 @@
 #include <windows.h>
 #endif
 #if HAVE_SYSCTL
-#if HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
+#define _BSD_SOURCE
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/sysctl.h>
