void-packages/srcpkgs/kernelshark/patches/musl.patch

21 lines
361 B
Diff

--- a/src/libkshark.h
+++ b/src/libkshark.h
@@ -17,6 +17,7 @@
#include <string.h>
#include <pthread.h>
#include <errno.h>
+#include <sys/types.h>
// Json-C
#include <json-c/json.h>
--- a/src/kernelshark.cpp
+++ b/src/kernelshark.cpp
@@ -7,6 +7,7 @@
// C
#include <sys/stat.h>
#include <getopt.h>
+#include <libgen.h>
// Qt
#include <QApplication>