aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libmpeg2/files/patch-libmpeg2__idct_alpha.c
blob: 6f0821702ec343979842bf97864f7bed6f6ad423 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- libmpeg2/idct_alpha.c.orig	Wed May 14 13:19:19 2003
+++ libmpeg2/idct_alpha.c	Wed May 14 13:19:32 2003
@@ -24,6 +24,14 @@
 
 #include "config.h"
 
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
+#if defined(__FreeBSD__) && __FreeBSD_version < 500000
+typedef __int32_t int_fast32_t;
+#endif
+
 #ifdef ARCH_ALPHA
 
 #include <stdlib.h>