From: Simon Wilkinson Date: Tue, 6 Sep 2011 13:18:12 +0000 (+0100) Subject: afsd: Fix res_init warning X-Git-Tag: upstream/1.8.0_pre1^2~3301 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2ba597391df8127ed610324fc6b7b489b1c1f83c;p=packages%2Fo%2Fopenafs.git afsd: Fix res_init warning afsd requires res_init to be declared - get a definition for this by including roken.h (which has the necessary magic to figure out which set of headers are required to get resolver functions) Change-Id: I217405df223f0bc42be90aea991cb228db4da4f0 Reviewed-on: http://gerrit.openafs.org/5373 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/afsd/afsd.c b/src/afsd/afsd.c index 9576e407e..f4418150c 100644 --- a/src/afsd/afsd.c +++ b/src/afsd/afsd.c @@ -55,6 +55,7 @@ #include #include +#include #ifdef IGNORE_SOME_GCC_WARNINGS # pragma GCC diagnostic warning "-Wdeprecated-declarations"