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