summaryrefslogtreecommitdiff
path: root/multimedia/libdvdread/patches/patch-aa
blob: 041f8723e346c7c928cd365c9613246d7e3795ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.6 2006/02/17 15:39:21 rillig Exp $

--- dvdread/ifo_types.h.orig	Sun Sep 18 20:02:08 2005
+++ dvdread/ifo_types.h	Fri Feb 17 16:30:23 2006
@@ -28,6 +28,12 @@
 #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
 #endif
 #else
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
 #if !defined(UINT8_MAX) || !defined(UINT16_MAX) || !defined(INT32_MAX)
 #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
 #endif