openbsd-ports/multimedia/libdv/patches/patch-libdv_bitstream_h

18 lines
458 B
Plaintext
Raw Normal View History

$OpenBSD: patch-libdv_bitstream_h,v 1.1.1.1 2004/06/26 18:00:27 sturm Exp $
--- libdv/bitstream.h.orig 2004-01-06 01:43:11.000000000 -0800
+++ libdv/bitstream.h 2004-01-06 01:44:27.000000000 -0800
@@ -32,11 +32,13 @@
#define DV_BITSTREAM_H
#include "dv_types.h"
+#if !defined(__OpenBSD__)
#if HAVE_ENDIAN_H
#include <endian.h>
#elif HAVE_MACHINE_ENDIAN_H
#include <machine/endian.h>
#endif
+#endif /* OpenBSD */
#ifdef __cplusplus
extern "C" {