summaryrefslogtreecommitdiff
path: root/audio/faad2/patches/patch-af
blob: 169ead8d4a611544fdb574a3a6f13cea78b69d67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-af,v 1.1 2004/05/15 13:02:33 grant Exp $

--- common/mp4ff/mp4ff_int_types.h.orig	2003-12-14 09:26:56.000000000 +1100
+++ 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,16 @@ typedef unsigned __int64 uint64_t;
 
 #else
 
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#elif HAVE_INTTYPES_H
+#include <inttypes.h>
+#elif HAVE_STDINT_H
 #include <stdint.h>
+#endif
+
 
 #endif
 
 
-#endif
\ No newline at end of file
+#endif