fix(compile err): fix include gio header error

Description: 修复包含gio头文件错误

Log: 无
This commit is contained in:
winnerym 2023-04-20 16:03:02 +08:00
parent a9daf6f1f3
commit c1523acb11
2 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ include_directories(
${Qt5Widgets_INCLUDE_DIRS}
${Qt5DBus_INCLUDE_DIRS}
${GLIB2_INCLUDE_DIRS}
${GIOUNIX2_INCLUDE_DIRS}
include
../common
)

View File

@ -1,6 +1,6 @@
#include "giodbus.h"
#include <gio/gio.h>
#include <gio-unix-2.0/gio/gunixfdlist.h>
#include <gio/gunixfdlist.h>
#include <glib.h>
int get_server_gvariant_stdout (int drvid)