Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 1 | From d0d5ac317dab11610a5fc91ca3e7f5ad72ce2236 Mon Sep 17 00:00:00 2001 |
| 2 | From: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> |
| 3 | Date: Tue, 29 Oct 2019 13:19:37 +0800 |
| 4 | Subject: [PATCH] Bug fix for pid_t not found on musl. |
| 5 | |
| 6 | When compiling version 5.1.6 on musl, the following error occurs: |
| 7 | log.h:49:8: error: unknown type name 'pid_t' |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> |
| 12 | --- |
| 13 | lib/defaults.c | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
| 16 | diff --git a/lib/defaults.c b/lib/defaults.c |
| 17 | index a6ea116..b3ecfa5 100644 |
| 18 | --- a/lib/defaults.c |
| 19 | +++ b/lib/defaults.c |
| 20 | @@ -21,6 +21,7 @@ |
| 21 | #include <string.h> |
| 22 | #include <sys/utsname.h> |
| 23 | #include <sys/stat.h> |
| 24 | +#include <sys/types.h> |
| 25 | #include <stdarg.h> |
| 26 | |
| 27 | #include "config.h" |
| 28 | -- |
| 29 | 2.20.1 |
| 30 | |