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.
master
Mike Massonnet 2012-07-13 13:13:35 +02:00
parent 863b40edda
commit 1d664b8316
1 changed files with 0 additions and 10 deletions

View File

@ -98,8 +98,6 @@
# include <net/if_media.h> # include <net/if_media.h>
# include <net/if_mib.h> # include <net/if_mib.h>
# include <arpa/inet.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 */ #elif __FreeBSD__ || __FreeBSD_kernel__ /* F R E E B S D */
# include <stdio.h> # include <stdio.h>
# include <stdlib.h> # include <stdlib.h>
@ -122,8 +120,6 @@
# include <net/if_media.h> # include <net/if_media.h>
# include <net/if_mib.h> # include <net/if_mib.h>
# include <arpa/inet.h> # include <arpa/inet.h>
# include <net/ppp_defs.h>
# include <net/if_ppp.h>
#elif __NetBSD__ /* N E T B S D */ #elif __NetBSD__ /* N E T B S D */
# include <stdio.h> # include <stdio.h>
# include <sys/param.h> # include <sys/param.h>
@ -147,8 +143,6 @@
# include <net/route.h> # include <net/route.h>
# include <net/if_dl.h> # include <net/if_dl.h>
# include <arpa/inet.h> # include <arpa/inet.h>
# include <net/ppp_defs.h>
# include <net/if_ppp.h>
# include <net/if.h> # include <net/if.h>
#elif __OpenBSD__ || __MicroBSD__ /* O P E N B S D */ #elif __OpenBSD__ || __MicroBSD__ /* O P E N B S D */
# include <stdio.h> # include <stdio.h>
@ -173,8 +167,6 @@
# include <net/if_dl.h> # include <net/if_dl.h>
# include <net/route.h> # include <net/route.h>
# include <arpa/inet.h> # include <arpa/inet.h>
# include <net/ppp_defs.h>
# include <net/if_ppp.h>
#elif __linux__ /* L I N U X */ #elif __linux__ /* L I N U X */
# include <stdio.h> # include <stdio.h>
# include <sys/param.h> # include <sys/param.h>
@ -195,8 +187,6 @@
# include <netinet/in.h> # include <netinet/in.h>
# include <net/if.h> # include <net/if.h>
# include <arpa/inet.h> # include <arpa/inet.h>
# include <net/ppp_defs.h>
# include <net/if_ppp.h>
#elif __Solaris__ /* S O L A R I S */ #elif __Solaris__ /* S O L A R I S */
# include <stdio.h> # include <stdio.h>
# define _WIDEC_H # define _WIDEC_H