From: Mike Frysinger Date: Mon, 5 Dec 2016 22:15:29 +0000 (-0500) Subject: include getdef.h for getdef_bool prototype X-Git-Tag: 4.5~29^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F53%2Fhead;p=thirdparty%2Fshadow.git include getdef.h for getdef_bool prototype Otherwise we get build warnings like: sgroupio.c:255:6: warning: implicit declaration of function 'getdef_bool' [-Wimplicit-function-declaration] shadowio.c:131:6: warning: implicit declaration of function 'getdef_bool' [-Wimplicit-function-declaration] --- diff --git a/lib/sgroupio.c b/lib/sgroupio.c index f2685779a..5423626a0 100644 --- a/lib/sgroupio.c +++ b/lib/sgroupio.c @@ -40,6 +40,7 @@ #include "prototypes.h" #include "defines.h" #include "commonio.h" +#include "getdef.h" #include "sgroupio.h" /*@null@*/ /*@only@*/struct sgrp *__sgr_dup (const struct sgrp *sgent) diff --git a/lib/shadowio.c b/lib/shadowio.c index 6e44ab24d..5fa3d312b 100644 --- a/lib/shadowio.c +++ b/lib/shadowio.c @@ -40,6 +40,7 @@ #include #include #include "commonio.h" +#include "getdef.h" #include "shadowio.h" #ifdef WITH_TCB #include