summaryrefslogtreecommitdiff
path: root/debian/patches/0705-kfreebsd.patch
blob: 34a510be26f810632ef1466100280ec3a3a257c5 (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
@@ -72,8 +72,10 @@
 #endif
 
 #ifdef HAVE_MACHINE_CPUFUNC_H
+#ifndef __GLIBC__
 #include <machine/cpufunc.h>
 #endif
+#endif
 
 #ifdef HAVE_I386_SET_IOPERM
 #include <machine/sysarch.h>