summaryrefslogtreecommitdiff
path: root/multimedia/x264-devel/patches/patch-aj
blob: d67475ed6cefd34991cd217b1c08a9ca231e3969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aj,v 1.2 2008/12/18 16:19:08 bjs Exp $

--- common/cpu.c.orig	2008-12-13 06:09:00.000000000 -0500
+++ common/cpu.c
@@ -226,7 +226,7 @@ uint32_t x264_cpu_detect( void )
     return cpu;
 }
 
-#elif defined( SYS_LINUX )
+#elif defined(SYS_LINUX) || defined(SYS_NETBSD)
 #include <signal.h>
 #include <setjmp.h>
 static sigjmp_buf jmpbuf;