提交 4eed65ab 编写于 作者: D Daniel P. Berrangé

src: always pull in glib/gstdio.h header

The gstdio.h header defines some low level wrappers for
things like fsync, stat, lstat, etc.
Reviewed-by: NFabiano Fidêncio <fidencio@redhat.com>
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 0e097068
......@@ -28,7 +28,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <glib.h>
#include "glibcompat.h"
#if STATIC_ANALYSIS
# undef NDEBUG /* Don't let a prior NDEBUG definition cause trouble. */
......@@ -63,8 +63,6 @@
#include "libvirt/libvirt-admin.h"
#include "libvirt/virterror.h"
#include "glibcompat.h"
/* Merely casting to (void) is not sufficient since the
* introduction of the "warn_unused_result" attribute
*/
......
......@@ -19,6 +19,7 @@
#pragma once
#include <glib.h>
#include <glib/gstdio.h>
char *vir_g_strdup_printf(const char *msg, ...)
G_GNUC_PRINTF(1, 2);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册