summaryrefslogtreecommitdiff
path: root/multimedia/libmp4v2/patches/patch-al
blob: 6107a35cccb88db3f6e3bd4aeb1ebb1bd633236e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-al,v 1.3 2007/11/14 18:44:46 drochner Exp $

--- lib/mp4v2/mp4.h.orig	2007-09-28 22:45:11.000000000 +0200
+++ lib/mp4v2/mp4.h
@@ -31,8 +31,17 @@
 #ifndef __MP4_INCLUDED__
 #define __MP4_INCLUDED__
 
+#ifdef MPEG4IP
 /* include system and project specific headers */
 #include "mpeg4ip.h"
+#else
+#include <sys/types.h>
+#include <strings.h>
+#include <stdio.h>
+#include <stdbool.h>
+#include <stdint.h>
+#endif
+
 #include <math.h>	/* to define float HUGE_VAL and/or NAN */
 #ifndef NAN
 #define NAN HUGE_VAL