diff options
author | 2010-05-11 09:32:19 -0600 | |
---|---|---|
committer | 2010-05-11 10:03:48 -0600 | |
commit | e8a1a730fe66b7a74ed226b847bbb3097082b541 (patch) | |
tree | e66f498027a588dbeef6c9c9b9e59eba8ea4af2d /tools | |
parent | build: allow older gettext (diff) | |
download | libvirt-e8a1a730fe66b7a74ed226b847bbb3097082b541.tar.gz libvirt-e8a1a730fe66b7a74ed226b847bbb3097082b541.tar.bz2 libvirt-e8a1a730fe66b7a74ed226b847bbb3097082b541.zip |
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.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/virsh.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/virsh.c b/tools/virsh.c index 21325c3e5..693d40917 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -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) /** |