1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: drop #include <sys/sysctl.h> on Linux
The sysctl syscall is gone for ages -- depending on architecture, it will
either spam syslog at runtime or fail to compile at all. As we don't
actually call it, the former is benign... but the latter is fatal on
new architectures.
Author: Adam Borowski <kilobyte@angband.pl>
--- xfce4-netload-plugin-1.2.0.orig/panel-plugin/os.h
+++ xfce4-netload-plugin-1.2.0/panel-plugin/os.h
@@ -170,7 +170,6 @@
#elif __linux__ /* L I N U X */
# include <stdio.h>
# include <sys/param.h>
-# include <sys/sysctl.h>
# include <stdlib.h>
# include <stdarg.h>
# include <unistd.h>
|