summaryrefslogtreecommitdiff
path: root/debian/patches/0705-kfreebsd.patch
blob: 86f7650185ac0d98e5251cbbccc3907ef89361c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
description: Fix build failure on kfreebsd (closes: #680234)
author: Petr Salinger
Index: trunk/backend/umax_pp_low.c
===================================================================
--- trunk.orig/backend/umax_pp_low.c
+++ trunk/backend/umax_pp_low.c
@@ -74,8 +74,10 @@
 #endif
 
 #ifdef HAVE_MACHINE_CPUFUNC_H
+#ifndef __GLIBC__
 #include <machine/cpufunc.h>
 #endif
+#endif
 
 #ifdef HAVE_I386_SET_IOPERM
 #include <machine/sysarch.h>