$NetBSD: patch-af,v 1.2 2004/12/30 06:35:38 minskim Exp $

--- common/mp4ff/mp4ff_int_types.h.orig	2003-12-13 16:26:56.000000000 -0600
+++ common/mp4ff/mp4ff_int_types.h
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #ifndef _MP4FF_INT_TYPES_H_
 #define _MP4FF_INT_TYPES_H_
 
@@ -15,9 +17,18 @@ typedef unsigned __int64 uint64_t;
 
 #else
 
+#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
 
 
-#endif
\ No newline at end of file
+#endif
