$NetBSD: patch-af,v 1.4 2009/08/11 11:16:38 drochner Exp $

--- common/mp4ff/mp4ff_int_types.h.orig	2008-11-24 22:52:45.000000000 +0100
+++ common/mp4ff/mp4ff_int_types.h
@@ -19,7 +19,18 @@ typedef unsigned __int64 uint64_t;
 
 #else
 
+#include "faad2-config.h"
+
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#if HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+#if HAVE_STDINT_H
 #include <stdint.h>
+#endif
+
 
 #endif
 
