diff options
author | ru <ru@FreeBSD.org> | 2005-12-04 02:12:43 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-12-04 02:12:43 +0000 |
commit | 522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3 (patch) | |
tree | f3ce65232b57836f87c8dc38dfcc8fbb95679c5d /sys/net/if_ppp.c | |
parent | 7b7fd248389b497235a0e9dcef2aff317880a15b (diff) | |
download | FreeBSD-src-522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3.zip FreeBSD-src-522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3.tar.gz |
Fix -Wundef.
Diffstat (limited to 'sys/net/if_ppp.c')
-rw-r--r-- | sys/net/if_ppp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c index 3d5cd13..7bf26f3 100644 --- a/sys/net/if_ppp.c +++ b/sys/net/if_ppp.c @@ -104,14 +104,14 @@ #include <net/netisr.h> #include <net/bpf.h> -#if INET +#ifdef INET #include <netinet/in.h> #include <netinet/in_systm.h> #include <netinet/in_var.h> #include <netinet/ip.h> #endif -#if IPX +#ifdef IPX #include <netipx/ipx.h> #include <netipx/ipx_if.h> #endif @@ -193,10 +193,10 @@ extern struct compressor ppp_bsd_compress; extern struct compressor ppp_deflate, ppp_deflate_draft; static struct compressor *ppp_compressors[8] = { -#if DO_BSD_COMPRESS && defined(PPP_BSDCOMP) +#if defined(PPP_BSDCOMP) &ppp_bsd_compress, #endif -#if DO_DEFLATE && defined(PPP_DEFLATE) +#if defined(PPP_DEFLATE) &ppp_deflate, &ppp_deflate_draft, #endif |