blob: 04ceb6b572141fbbe2706213c1f1dec041f8aa20 [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---
Patrick Williams520786c2023-06-25 16:20:36 -050012Upstream-Status: Pending
13
Andrew Geissler82c905d2020-04-13 13:39:40 -050014 include/clif.h | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/include/clif.h b/include/clif.h
18index 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