1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Fix build on alpha ARCH

This commit is contained in:
Mario Sergio Fujikawa Ferreira 2003-05-14 16:20:58 +00:00
parent 152b51a663
commit 86f1af0ff6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80981

View File

@ -0,0 +1,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>