25 lines
688 B
Diff
25 lines
688 B
Diff
From 99206f8a96329627996b00c76ff4f79086a4cb4e Mon Sep 17 00:00:00 2001
|
|
From: loong ci <loong_c@yeah.net>
|
|
Date: Fri, 29 Jul 2022 18:02:53 +0800
|
|
Subject: [PATCH] modify include path
|
|
|
|
---
|
|
src/cpp-utils/system/get_total_memory.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/cpp-utils/system/get_total_memory.cpp b/src/cpp-utils/system/get_total_memory.cpp
|
|
index 83abe6c..6840d45 100644
|
|
--- a/src/cpp-utils/system/get_total_memory.cpp
|
|
+++ b/src/cpp-utils/system/get_total_memory.cpp
|
|
@@ -1,6 +1,6 @@
|
|
#include "get_total_memory.h"
|
|
#include <sys/types.h>
|
|
-#include <sys/sysctl.h>
|
|
+#include <linux/sysctl.h>
|
|
#include <unistd.h>
|
|
#include <stdexcept>
|
|
|
|
--
|
|
2.20.1
|
|
|