Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From a64e52f9b58519aa2b8a1073fa6c04da04933428 Mon Sep 17 00:00:00 2001 |
| 2 | From: Jonathan Richardson <jonathan.richardson@broadcom.com> |
| 3 | Date: Wed, 26 Feb 2020 12:16:38 -0800 |
| 4 | Subject: [PATCH] Fix musl libc build issue |
| 5 | |
| 6 | clif.h should include sys/types.h for the definition of pid_t. It fails |
| 7 | to compile when using musl libc. |
| 8 | |
| 9 | Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com> |
| 10 | |
| 11 | --- |
Patrick Williams | 520786c | 2023-06-25 16:20:36 -0500 | [diff] [blame] | 12 | Upstream-Status: Pending |
| 13 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | include/clif.h | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/include/clif.h b/include/clif.h |
| 18 | index 648eedf..92f4fd8 100644 |
| 19 | --- a/include/clif.h |
| 20 | +++ b/include/clif.h |
| 21 | @@ -32,6 +32,7 @@ |
| 22 | #ifndef CLIF_H |
| 23 | #define CLIF_H |
| 24 | |
| 25 | +#include <sys/types.h> |
| 26 | #include <sys/un.h> |
| 27 | #include "clif_sock.h" |
| 28 | |