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

noreply at xfce.org noreply at xfce.org
Fri Jun 9 12:30:15 CEST 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 cd5428b77377b0f0a579c3d8cc3978b25267f22a
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