[Xfce4-commits] <xfce4-netload-plugin:master> Bug 7481: Drop if_ppp headers

Mike Massonnet noreply at xfce.org
Fri Jul 13 13:14:01 CEST 2012


Updating branch refs/heads/master
         to 1d664b83161e5d22c98a576d45e0e4a4da439773 (commit)
       from 863b40eddaf096d3473bc567ccd0f7b9eec89ac5 (commit)

commit 1d664b83161e5d22c98a576d45e0e4a4da439773
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Fri Jul 13 13:13:35 2012 +0200

    Bug 7481: Drop if_ppp headers
    
    The code included net/if_ppp.h headers, but the code doesn't
    use any function from this header. FreeBSD doesn't ship if_ppp.h
    anymore and it broke compilation.

 panel-plugin/os.h |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/panel-plugin/os.h b/panel-plugin/os.h
index 5731580..473c2a4 100644
--- a/panel-plugin/os.h
+++ b/panel-plugin/os.h
@@ -98,8 +98,6 @@
 #  include <net/if_media.h>
 #  include <net/if_mib.h>
 #  include <arpa/inet.h>
-#  include <net/ppp_layer/ppp_defs.h>
-#  include <net/ppp/if_ppp.h>
 #elif __FreeBSD__ || __FreeBSD_kernel__           /* F R E E B S D */
 #  include <stdio.h>
 #  include <stdlib.h>
@@ -122,8 +120,6 @@
 #  include <net/if_media.h>
 #  include <net/if_mib.h>
 #  include <arpa/inet.h>
-#  include <net/ppp_defs.h>
-#  include <net/if_ppp.h>
 #elif __NetBSD__            /* N E T B S D */
 #  include <stdio.h>
 #  include <sys/param.h>
@@ -147,8 +143,6 @@
 #  include <net/route.h>
 #  include <net/if_dl.h>
 #  include <arpa/inet.h>
-#  include <net/ppp_defs.h>
-#  include <net/if_ppp.h>
 #  include <net/if.h>
 #elif __OpenBSD__ || __MicroBSD__           /* O P E N B S D */
 #  include <stdio.h>
@@ -173,8 +167,6 @@
 #  include <net/if_dl.h>
 #  include <net/route.h>
 #  include <arpa/inet.h>
-#  include <net/ppp_defs.h>
-#  include <net/if_ppp.h>
 #elif __linux__             /* L I N U X */
 #  include <stdio.h>
 #  include <sys/param.h>
@@ -195,8 +187,6 @@
 #  include <netinet/in.h>
 #  include <net/if.h>
 #  include <arpa/inet.h>
-#  include <net/ppp_defs.h>
-#  include <net/if_ppp.h>
 #elif __Solaris__           /* S O L A R I S */
 #  include <stdio.h>
 #  define _WIDEC_H


More information about the Xfce4-commits mailing list