mirror of https://gitee.com/openkylin/libvirt.git
build: update gnulib
* .gnulib: Update to latest. * bootstrap.conf (gnulib_modules): Import netdb. * src/esx/esx_util.c (AI_ADDRCONFIG): Rely on gnulib. * src/remote/remote_driver.c (AI_ADDRCONFIG): Likewise. * tools/virsh.c (WEXITSTATUS, O_SYNC): Likewise.
This commit is contained in:
parent
03ae900f02
commit
e8a1a730fe
2
.gnulib
2
.gnulib
|
@ -1 +1 @@
|
|||
Subproject commit e2843e30e8c2885eb8cbc77e20c4e0f4d562d44d
|
||||
Subproject commit 28e58203a7ab14264f8fa450884a89e9ae48025c
|
|
@ -39,6 +39,7 @@ ioctl
|
|||
maintainer-makefile
|
||||
mkstemp
|
||||
mktempd
|
||||
netdb
|
||||
perror
|
||||
physmem
|
||||
poll
|
||||
|
|
|
@ -38,12 +38,6 @@
|
|||
|
||||
#define VIR_FROM_THIS VIR_FROM_ESX
|
||||
|
||||
/* AI_ADDRCONFIG is missing on some systems. */
|
||||
#ifndef AI_ADDRCONFIG
|
||||
# define AI_ADDRCONFIG 0
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
int
|
||||
esxUtil_ParseQuery(xmlURIPtr uri, char **transport, char **vCenter,
|
||||
|
|
|
@ -68,11 +68,6 @@
|
|||
|
||||
#include <poll.h>
|
||||
|
||||
/* AI_ADDRCONFIG is missing on some systems. */
|
||||
#ifndef AI_ADDRCONFIG
|
||||
# define AI_ADDRCONFIG 0
|
||||
#endif
|
||||
|
||||
#include "virterror_internal.h"
|
||||
#include "logging.h"
|
||||
#include "datatypes.h"
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include <getopt.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/wait.h>
|
||||
#include "c-ctype.h"
|
||||
#include <fcntl.h>
|
||||
#include <locale.h>
|
||||
|
@ -82,9 +83,6 @@ static char *progname;
|
|||
#define LVL_WARNING "WARNING"
|
||||
#define LVL_ERROR "ERROR"
|
||||
|
||||
#ifndef WEXITSTATUS
|
||||
# define WEXITSTATUS(x) ((x) & 0xff)
|
||||
#endif
|
||||
/**
|
||||
* vshErrorLevel:
|
||||
*
|
||||
|
@ -9930,9 +9928,6 @@ vshInit(vshControl *ctl)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
#ifndef O_SYNC
|
||||
# define O_SYNC 0
|
||||
#endif
|
||||
#define LOGFILE_FLAGS (O_WRONLY | O_APPEND | O_CREAT | O_SYNC)
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue