kumquat-buildroot/package/ply/0002-printxf.h-add-stdarg.h-in-include.patch
Andreas Klinger 544fcc772f package/ply: new package
ply is a light-weight dynamic tracer for Linux. By means of using the
BPF it can attach probes to the linux kernel (e. g. kprobes).

It's a small alternative to LLVM based tracers for embedded systems.

Project page:
https://github.com/wkz/ply/releases

Documentation can be found here:
https://wkz.github.io/ply/

Tested with beaglebone_defconfig (uClibc-ng as well as glibc)

Signed-off-by: Andreas Klinger <ak@it-klinger.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-01-23 22:48:03 +01:00

28 lines
621 B
Diff

From 3fb3cb779c535ec28cbba80573bbea42435108c0 Mon Sep 17 00:00:00 2001
From: Andreas Klinger <ak@it-klinger.de>
Date: Mon, 4 Jan 2021 20:48:41 +0100
Subject: [PATCH] printxf.h: add stdarg.h in include
Include of <stdarg.h> is needed for va_list.
Signed-off-by: Andreas Klinger <ak@it-klinger.de>
---
include/ply/printxf.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/ply/printxf.h b/include/ply/printxf.h
index a59f0d2..e985936 100644
--- a/include/ply/printxf.h
+++ b/include/ply/printxf.h
@@ -8,6 +8,7 @@
#define _PRINTXF_H
#include <stdio.h>
+#include <stdarg.h>
struct printxf;
--
2.20.1