summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch')
-rw-r--r--meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch b/meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch
new file mode 100644
index 000000000..40b082e77
--- /dev/null
+++ b/meta-networking/recipes-protocols/openlldp/files/0001-Fix-musl-libc-build-issue.patch
@@ -0,0 +1,26 @@
1From 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