diff mbox series

trace-cmd: make it build against musl C library

Message ID 20221101105803.191324-1-peter@berginkonsult.se (mailing list archive)
State Accepted
Commit 6d5eff59b310edec2f9016033d777c4b27738897
Headers show
Series trace-cmd: make it build against musl C library | expand

Commit Message

Peter Bergin Nov. 1, 2022, 10:58 a.m. UTC
Add missing header file to make it compile with musl C library.

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
---
 lib/trace-cmd/trace-timesync-kvm.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Steven Rostedt Nov. 10, 2022, 12:36 a.m. UTC | #1
On Tue,  1 Nov 2022 11:58:03 +0100
Peter Bergin <peter@berginkonsult.se> wrote:

> Add missing header file to make it compile with musl C library.
> 
> Signed-off-by: Peter Bergin <peter@berginkonsult.se>

Applied. Thanks Peter!

-- Steve
diff mbox series

Patch

diff --git a/lib/trace-cmd/trace-timesync-kvm.c b/lib/trace-cmd/trace-timesync-kvm.c
index aa1799b1..bbef8b60 100644
--- a/lib/trace-cmd/trace-timesync-kvm.c
+++ b/lib/trace-cmd/trace-timesync-kvm.c
@@ -10,6 +10,7 @@ 
 #include <sys/stat.h>
 #include <dirent.h>
 #include <ctype.h>
+#include <limits.h>
 
 #include "trace-cmd.h"
 #include "trace-cmd-private.h"