$OpenBSD: patch-third_party_libvpx_source_libvpx_build_make_obj_int_extract_c,v 1.6 2014/07/20 17:22:34 robert Exp $
--- third_party/libvpx/source/libvpx/build/make/obj_int_extract.c.orig.port	Tue Jul 15 13:03:40 2014
+++ third_party/libvpx/source/libvpx/build/make/obj_int_extract.c	Thu Jul 17 12:25:31 2014
@@ -212,7 +212,11 @@ bail:
 }
 
 #elif defined(__ELF__)
+#if defined(__OpenBSD__)
+#include <sys/exec_elf.h>
+#else
 #include "elf.h"
+#endif
 
 #define COPY_STRUCT(dst, buf, ofst, sz) do {\
     if(ofst + sizeof((*(dst))) > sz) goto bail;\
