summaryrefslogtreecommitdiffstats
path: root/graphics/libvisual/files/extra-patch-libvisual_lv_cpu.c
blob: 8e6d1cd03574c2beaf212dd9227db05819c884da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- libvisual/lv_cpu.c.orig	Sun Mar 20 20:17:51 2005
+++ libvisual/lv_cpu.c	Sun Mar 20 20:18:19 2005
@@ -65,6 +65,9 @@
 #include "lv_log.h"
 #include "lv_cpu.h"
 
+/* stolen from 5.3-stable's unistd.h */
+#define		_SC_NPROCESSORS_ONLN	58
+
 static VisCPU _lv_cpu_caps;
 static int _lv_cpu_initialized = FALSE;
 
OpenPOWER on IntegriCloud