$OpenBSD: patch-libdv_YUY2_c,v 1.1.1.1 2004/06/26 18:00:27 sturm Exp $
--- libdv/YUY2.c.orig	2004-01-06 01:04:42.000000000 -0800
+++ libdv/YUY2.c	2004-01-06 01:06:23.000000000 -0800
@@ -31,11 +31,14 @@
 # include <config.h>
 #endif
 
+#if !defined(__OpenBSD__)
 #if HAVE_ENDIAN_H
 #include <endian.h>
 #elif HAVE_MACHINE_ENDIAN_H
 #include <machine/endian.h>
 #endif
+#endif /* OpenBSD */
+
 #include <stdlib.h>
 
 #include "YUY2.h"
