1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/multimedia/libmpeg2/files/patch-libmpeg2::idct_alpha.c
Mario Sergio Fujikawa Ferreira 86f1af0ff6 Fix build on alpha ARCH
2003-05-14 16:20:58 +00:00

18 lines
385 B
C

--- 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>