[Xfce4-commits] [panel-plugins/xfce4-netload-plugin] 01/06: Remove sys/sysctl.h on linux platform

noreply at xfce.org noreply at xfce.org
Thu Nov 2 23:05:44 CET 2017


This is an automated email from the git hooks/post-receive script.

s   k   u   n   n   y   k       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-netload-plugin.

commit 3c9496434768e9a23c88bc1bf2b4eaaf689c7cef
Author: Adam Borowski <kilobyte at angband.pl>
Date:   Tue Jun 6 23:25:29 2017 +0200

    Remove sys/sysctl.h on linux platform
    
    This include is useless and can be removed.
    This syscall has been strongly deprecated for ages and the plugin doesn't use it any more.  On old architectures, this include is benign as long as it's unused, on new ones (such as x32) it results in a build failure.
    Fix bug #11477
---
 panel-plugin/os.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/panel-plugin/os.h b/panel-plugin/os.h
index 473c2a4..9a5c544 100644
--- a/panel-plugin/os.h
+++ b/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>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list