From c1523acb11701634d5bded051184fc3110206d45 Mon Sep 17 00:00:00 2001 From: winnerym Date: Thu, 20 Apr 2023 16:03:02 +0800 Subject: [PATCH] fix(compile err): fix include gio header error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description: 修复包含gio头文件错误 Log: 无 --- bioauth/CMakeLists.txt | 1 + bioauth/src/giodbus.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bioauth/CMakeLists.txt b/bioauth/CMakeLists.txt index 076db39..97f287c 100644 --- a/bioauth/CMakeLists.txt +++ b/bioauth/CMakeLists.txt @@ -35,6 +35,7 @@ include_directories( ${Qt5Widgets_INCLUDE_DIRS} ${Qt5DBus_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIRS} + ${GIOUNIX2_INCLUDE_DIRS} include ../common ) diff --git a/bioauth/src/giodbus.cpp b/bioauth/src/giodbus.cpp index c7983ae..4d951f5 100644 --- a/bioauth/src/giodbus.cpp +++ b/bioauth/src/giodbus.cpp @@ -1,6 +1,6 @@ #include "giodbus.h" #include -#include +#include #include int get_server_gvariant_stdout (int drvid)