summaryrefslogtreecommitdiff
path: root/package/util-linux/patches/patch-term-utils_setterm_c
blob: bd84e5bbb6d0e4f45fa62eb3516aeac37eba05d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
patch taken from sabotage linux -- https://github.com/rofl0r/sabotage

--- util-linux-2.23.2.orig/term-utils/setterm.c	2013-06-13 09:46:10.000000000 +0200
+++ util-linux-2.23.2/term-utils/setterm.c	2013-08-14 12:47:43.000000000 +0200
@@ -123,7 +123,7 @@
 #include "nls.h"
 #include "closestream.h"
 
-#if __GNU_LIBRARY__ < 5
+#if defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ < 5
 #ifndef __alpha__
 # include <linux/unistd.h>
 #define __NR_klogctl __NR_syslog