0005-include-gshadow-only-if-ENABLE_GSHADOW-is-1.patch 691 B

1234567891011121314151617181920212223242526272829
  1. From a2c4d46944892174930135672508389a04e191f0 Mon Sep 17 00:00:00 2001
  2. From: Chen Qi <Qi.Chen@windriver.com>
  3. Date: Fri, 29 Jun 2018 13:53:29 +0800
  4. Subject: [PATCH 05/19] include gshadow only if ENABLE_GSHADOW is 1
  5. Upstream-Status: Inappropriate [musl]
  6. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
  7. ---
  8. src/basic/user-util.h | 2 ++
  9. 1 file changed, 2 insertions(+)
  10. diff --git a/src/basic/user-util.h b/src/basic/user-util.h
  11. index b74f16885..f9c1e29c4 100644
  12. --- a/src/basic/user-util.h
  13. +++ b/src/basic/user-util.h
  14. @@ -2,7 +2,9 @@
  15. #pragma once
  16. #include <grp.h>
  17. +#if ENABLE_GSHADOW
  18. #include <gshadow.h>
  19. +#endif
  20. #include <pwd.h>
  21. #include <shadow.h>
  22. #include <stdbool.h>
  23. --
  24. 2.11.0