Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 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 | |
| 6 | Upstream-Status: Inappropriate [musl] |
| 7 | |
| 8 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
| 9 | --- |
| 10 | src/basic/user-util.h | 2 ++ |
| 11 | 1 file changed, 2 insertions(+) |
| 12 | |
| 13 | diff --git a/src/basic/user-util.h b/src/basic/user-util.h |
| 14 | index b74f16885..f9c1e29c4 100644 |
| 15 | --- a/src/basic/user-util.h |
| 16 | +++ b/src/basic/user-util.h |
| 17 | @@ -2,7 +2,9 @@ |
| 18 | #pragma once |
| 19 | |
| 20 | #include <grp.h> |
| 21 | +#if ENABLE_GSHADOW |
| 22 | #include <gshadow.h> |
| 23 | +#endif |
| 24 | #include <pwd.h> |
| 25 | #include <shadow.h> |
| 26 | #include <stdbool.h> |
| 27 | -- |
| 28 | 2.11.0 |
| 29 | |