diff options
Diffstat (limited to 'meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch')
-rw-r--r-- | meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch new file mode 100644 index 0000000000..e354181927 --- /dev/null +++ b/meta-xfce/recipes-panel-plugins/netload/xfce4-netload-plugin/0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From 7fcc7352ec11644ac8be4e9ec1584a5be3333684 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 12 Jul 2017 18:18:30 -0700 | ||
4 | Subject: [PATCH] Do not include sys/sysctl.h its unused on linux port | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | panel-plugin/os.h | 1 - | ||
9 | 1 file changed, 1 deletion(-) | ||
10 | |||
11 | diff --git a/panel-plugin/os.h b/panel-plugin/os.h | ||
12 | index 473c2a4..9a5c544 100644 | ||
13 | --- a/panel-plugin/os.h | ||
14 | +++ b/panel-plugin/os.h | ||
15 | @@ -170,7 +170,6 @@ | ||
16 | #elif __linux__ /* L I N U X */ | ||
17 | # include <stdio.h> | ||
18 | # include <sys/param.h> | ||
19 | -# include <sys/sysctl.h> | ||
20 | # include <stdlib.h> | ||
21 | # include <stdarg.h> | ||
22 | # include <unistd.h> | ||
23 | -- | ||
24 | 2.13.2 | ||
25 | |||