From c094874817d00dc0df7d48c070f0b5d4673ee349 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Fri, 29 Oct 2010 19:19:48 +0100 Subject: [PATCH] util: netutils never builds in the kernel ... ... so stop pretending that it does. Change-Id: I9d1d7c9b8c826f18e7f02decdb555956b257e155 Reviewed-on: http://gerrit.openafs.org/3201 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/util/netutils.c | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/src/util/netutils.c b/src/util/netutils.c index 4f47f456b0..d987ed108f 100644 --- a/src/util/netutils.c +++ b/src/util/netutils.c @@ -13,32 +13,22 @@ */ #include -#ifdef KERNEL -#include "afs/param.h" -#else #include -#endif - #include #include #include #include -#ifdef KERNEL -#include "afs/sysincludes.h" -#include "afsincludes.h" +#if defined(AFS_NT40_ENV) +# include #else -#ifdef AFS_NT40_ENV -#include -#else -#ifdef __FreeBSD__ -#include -#endif -#include -#include +# if defined(__FreeBSD__) +# include +# endif +# include +# include #endif #include -#endif #include