From 522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3 Mon Sep 17 00:00:00 2001 From: ru Date: Sun, 4 Dec 2005 02:12:43 +0000 Subject: Fix -Wundef. --- sys/net/if_ppp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/net/if_ppp.c') 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 #include -#if INET +#ifdef INET #include #include #include #include #endif -#if IPX +#ifdef IPX #include #include #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 -- cgit v1.1