diff options
author | Laurent Charpentier <laurent_pubs@yahoo.com> | 2018-01-22 13:09:03 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-02-06 16:43:51 +0100 |
commit | 73cbb077be00999494204dd2a408856ff3929cf2 (patch) | |
tree | 51f778aabf1e10d70069ebcb064feb72ac928e99 /package/open-lldp | |
parent | 1c08a2d5fd310fb2f5fd03c7c8f534c0db8b8045 (diff) | |
download | buildroot-73cbb077be00999494204dd2a408856ff3929cf2.tar.gz buildroot-73cbb077be00999494204dd2a408856ff3929cf2.zip |
open-lldp: add patch to remove pid_t error
Added #include <sys/types.h> to fix unknown type 'pid_t' errors.
This is to fix autobuild failures:
http://autobuild.buildroot.net/results/f7e94ae1c2aa6b3f6567d1f567a66329974834e9
http://autobuild.buildroot.net/results/8a43938d9c0391a846757a54cf5f956b64470865
Signed-off-by: Laurent Charpentier <laurent_pubs@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/open-lldp')
-rw-r--r-- | package/open-lldp/0004-fixed-unknown-type-pid_t.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/package/open-lldp/0004-fixed-unknown-type-pid_t.patch b/package/open-lldp/0004-fixed-unknown-type-pid_t.patch new file mode 100644 index 0000000000..2d3b9148e0 --- /dev/null +++ b/package/open-lldp/0004-fixed-unknown-type-pid_t.patch @@ -0,0 +1,41 @@ +From 41e9e6b5aa13d65480cc960a7f15f97d74d64090 Mon Sep 17 00:00:00 2001 +From: Laurent Charpentier <laurent_pubs@yahoo.com> +Date: Mon, 22 Jan 2018 10:49:45 +0100 +Subject: [PATCH] fixed unknown type pid_t + +Fixed 'unknown type pid_t' gcc compile error in dcbtool_cmds.c and +lldptool_cmds.c + +Signed-off-by: Laurent Charpentier <laurent_pubs@yahoo.com> +--- + dcbtool_cmds.c | 1 + + lldptool_cmds.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/dcbtool_cmds.c b/dcbtool_cmds.c +index a5cd0fe..ee5c144 100644 +--- a/dcbtool_cmds.c ++++ b/dcbtool_cmds.c +@@ -27,6 +27,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <ctype.h> ++#include <sys/types.h> + #include "clif.h" + #include "dcbtool.h" + #include "lldp_dcbx_cmds.h" +diff --git a/lldptool_cmds.c b/lldptool_cmds.c +index daef8c8..c793e34 100644 +--- a/lldptool_cmds.c ++++ b/lldptool_cmds.c +@@ -27,6 +27,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <ctype.h> ++#include <sys/types.h> + #include "clif.h" + #include "dcb_types.h" + #include "lldptool.h" +-- +2.14.3 + |