summaryrefslogtreecommitdiff
path: root/audio/faad2/patches/patch-af
blob: d80c293c33eda7be5ffb93b9371bbe2beaaf6dda (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
30
31
$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