https://github.com/shadow-maint/shadow/pull/53 From 32c0b283ef5d68b63e4ec05fb22ed0db938fea67 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 5 Dec 2016 17:15:29 -0500 Subject: [PATCH] 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] --- lib/sgroupio.c | 1 + lib/shadowio.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/sgroupio.c b/lib/sgroupio.c index f2685779a12b..5423626a01da 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 6e44ab24d69c..5fa3d312bbf9 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 -- 2.11.0.rc2