fix(compile err): fix include gio header error
Description: 修复包含gio头文件错误 Log: 无
This commit is contained in:
parent
a9daf6f1f3
commit
c1523acb11
|
@ -35,6 +35,7 @@ include_directories(
|
||||||
${Qt5Widgets_INCLUDE_DIRS}
|
${Qt5Widgets_INCLUDE_DIRS}
|
||||||
${Qt5DBus_INCLUDE_DIRS}
|
${Qt5DBus_INCLUDE_DIRS}
|
||||||
${GLIB2_INCLUDE_DIRS}
|
${GLIB2_INCLUDE_DIRS}
|
||||||
|
${GIOUNIX2_INCLUDE_DIRS}
|
||||||
include
|
include
|
||||||
../common
|
../common
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "giodbus.h"
|
#include "giodbus.h"
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
#include <gio-unix-2.0/gio/gunixfdlist.h>
|
#include <gio/gunixfdlist.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
int get_server_gvariant_stdout (int drvid)
|
int get_server_gvariant_stdout (int drvid)
|
||||||
|
|
Loading…
Reference in New Issue