From 776bbd0ccb7460d51d17fd41cd8bbf793f18d0e9 Mon Sep 17 00:00:00 2001 From: Iker Pedrosa Date: Thu, 10 Aug 2023 09:46:38 +0200 Subject: [PATCH] libmisc: include freezero Signed-off-by: Iker Pedrosa --- libmisc/agetpass.c | 4 ++++ libmisc/obscure.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/libmisc/agetpass.c b/libmisc/agetpass.c index 1ff9d63b3..576b766e5 100644 --- a/libmisc/agetpass.c +++ b/libmisc/agetpass.c @@ -18,6 +18,10 @@ #include "alloc.h" #include "prototypes.h" +#if WITH_LIBBSD == 0 +#include "freezero.h" +#endif /* WITH_LIBBSD */ + #if !defined(PASS_MAX) #define PASS_MAX BUFSIZ - 1 diff --git a/libmisc/obscure.c b/libmisc/obscure.c index 40aa8efc6..88a877356 100644 --- a/libmisc/obscure.c +++ b/libmisc/obscure.c @@ -24,6 +24,11 @@ #include "prototypes.h" #include "defines.h" #include "getdef.h" + +#if WITH_LIBBSD == 0 +#include "freezero.h" +#endif /* WITH_LIBBSD */ + /* * can't be a palindrome - like `R A D A R' or `M A D A M' */ -- 2.47.2