mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +00:00
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: Fabiano Fidêncio <fidencio@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
0e09706844
commit
4eed65abec
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user