]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
libmisc: include freezero
authorIker Pedrosa <ipedrosa@redhat.com>
Thu, 10 Aug 2023 07:46:38 +0000 (09:46 +0200)
committerSerge Hallyn <serge@hallyn.com>
Thu, 10 Aug 2023 14:29:17 +0000 (09:29 -0500)
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
libmisc/agetpass.c
libmisc/obscure.c

index 1ff9d63b39390a793e1af17e6e3c697fa6c3eec9..576b766e5ad989efeb263fe3ae69813b0bb1ced9 100644 (file)
 #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
index 40aa8efc6b4b4ee6fe14712ad580e020de9f375b..88a87735616904d23ae870d4092a27cc0f4f9bdb 100644 (file)
 #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'
  */