25 lines
673 B
Diff
25 lines
673 B
Diff
From 6c15574bb42decac738b54813b79a0f0fd138998 Mon Sep 17 00:00:00 2001
|
|
From: LHesperus <2639350497@qq.com>
|
|
Date: Tue, 6 Aug 2024 11:05:25 +0800
|
|
Subject: [PATCH] adapt for 4.19 kernel
|
|
|
|
---
|
|
thread_collector/thread_collector.cpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/thread_collector/thread_collector.cpp b/thread_collector/thread_collector.cpp
|
|
index cb99bba..7c6f36f 100644
|
|
--- a/thread_collector/thread_collector.cpp
|
|
+++ b/thread_collector/thread_collector.cpp
|
|
@@ -19,6 +19,7 @@
|
|
#include <csignal>
|
|
#include <dirent.h>
|
|
#include <sys/stat.h>
|
|
+#include <unistd.h>
|
|
|
|
char thread_name[] = "thread_collector";
|
|
const int CYCLE_SIZE = 500;
|
|
--
|
|
2.45.2.windows.1
|
|
|