summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Winischhofer <thomas@winischhofer.net>2005-10-29 10:10:09 +0000
committerThomas Winischhofer <thomas@winischhofer.net>2005-10-29 10:10:09 +0000
commitc63936bf30c8ce196761a6758ee395e0c65ca679 (patch)
tree93850f5d261216860e9aec1b3ff50fdcbb647853
parent634177ea66815843928b292316309ad37b0daf4c (diff)
SiS driver: Fix static build
-rw-r--r--src/sis_memcpy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sis_memcpy.c b/src/sis_memcpy.c
index 8515d2c..67cb7d2 100644
--- a/src/sis_memcpy.c
+++ b/src/sis_memcpy.c
@@ -843,6 +843,11 @@ static char *SiS_GetCPUFreq(ScrnInfoPtr pScrn, char *buf, double *cpuFreq)
#ifdef SiS_checkosforsse /* Common i386, AMD64 */
#ifdef SISCHECKOSSSE
+
+#ifndef XFree86LOADER
+#include <setjmp.h>
+#endif
+
static jmp_buf sigill_return;
static void sigill_handler(void)