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