void-packages/srcpkgs/trace-cmd/patches/musl-limits_h.patch

41 lines
1.2 KiB
Diff

--- include/tracefs/tracefs.h 2020-07-17 17:14:20.000000000 +0200
+++ include/tracefs/tracefs.h 2020-07-18 16:27:27.559697340 +0200
@@ -6,6 +6,7 @@
#ifndef _TRACE_FS_H
#define _TRACE_FS_H
+#include <limits.h>
#include "traceevent/event-parse.h"
char *tracefs_get_tracing_file(const char *name);
--- lib/trace-cmd/trace-plugin.c 2020-07-17 17:14:20.000000000 +0200
+++ lib/trace-cmd/trace-plugin.c 2020-07-18 16:33:40.323675122 +0200
@@ -6,6 +6,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <dlfcn.h>
+#include <limits.h>
#include <sys/stat.h>
#include <libgen.h>
#include "trace-cmd.h"
--- tracecmd/trace-agent.c 2020-07-17 17:14:20.000000000 +0200
+++ tracecmd/trace-agent.c 2020-07-18 16:35:53.882667161 +0200
@@ -14,6 +14,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
+#include <limits.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/wait.h>
--- tracecmd/trace-setup-guest.c 2020-07-17 17:14:20.000000000 +0200
+++ tracecmd/trace-setup-guest.c 2020-07-18 16:37:29.463661464 +0200
@@ -13,6 +13,7 @@
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <limits.h>
#include "trace-local.h"
#include "trace-msg.h"