patch-term-utils_setterm_c 459 B

12345678910111213
  1. patch taken from sabotage linux -- https://github.com/rofl0r/sabotage
  2. --- util-linux-2.23.2.orig/term-utils/setterm.c 2013-06-13 09:46:10.000000000 +0200
  3. +++ util-linux-2.23.2/term-utils/setterm.c 2013-08-14 12:47:43.000000000 +0200
  4. @@ -123,7 +123,7 @@
  5. #include "nls.h"
  6. #include "closestream.h"
  7. -#if __GNU_LIBRARY__ < 5
  8. +#if defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ < 5
  9. #ifndef __alpha__
  10. # include <linux/unistd.h>
  11. #define __NR_klogctl __NR_syslog