pkgsrc/multimedia/vls/patches/patch-aj

21 lines
620 B
Text

$NetBSD: patch-aj,v 1.1 2006/06/26 11:30:06 rillig Exp $
libdvdread needs the definitions from <inttypes.h>.
--- src/modules/dvdreader/dvdreader.cpp.orig 2002-09-04 12:56:34.000000000 +0200
+++ src/modules/dvdreader/dvdreader.cpp 2006-06-26 13:27:52.000000000 +0200
@@ -30,6 +30,14 @@
//------------------------------------------------------------------------------
#include "../../core/defs.h"
+#define __STDC_LIMIT_MACROS
+#if defined(HAVE_INTTYPES_H)
+# include <inttypes.h>
+#endif
+#if defined(HAVE_STDINT_H)
+# include <stdint.h>
+#endif
+
#include "../../core/core.h"
#include "../../core/iso_lang.h"