[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200608140404.1449-2-dan@dlrobertson.com>
Date: Mon, 8 Jun 2020 14:04:04 +0000
From: Dan Robertson <dan@...obertson.com>
To: netdev@...r.kernel.org
Cc: Dan Robertson <dan@...obertson.com>
Subject: [PATCH 1/1] devlink: fix build with musl libc
The devlink tool makes use of the sigaction function and structure, but
does not include the signal.h header. This causes builds with musl libc
to fail. According to the Open Group specification this header should
be included for the sigaction function and structure definition.
Fixes: c4dfddccef4e ("fix JSON output of mon command")
Signed-off-by: Dan Robertson <dan@...obertson.com>
---
devlink/devlink.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/devlink/devlink.c b/devlink/devlink.c
index 507972c3..01533e2a 100644
--- a/devlink/devlink.c
+++ b/devlink/devlink.c
@@ -26,6 +26,7 @@
#include <libmnl/libmnl.h>
#include <netinet/ether.h>
#include <sys/types.h>
+#include <signal.h>
#include "SNAPSHOT.h"
#include "list.h"
Powered by blists - more mailing lists