git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avoid build-from-scratch failure due to missing daemon/configure
[libguestfs.git]
/
src
/
guestfs.c
diff --git
a/src/guestfs.c
b/src/guestfs.c
index
204125b
..
20afb63
100644
(file)
--- a/
src/guestfs.c
+++ b/
src/guestfs.c
@@
-19,7
+19,6
@@
#include <config.h>
#define _BSD_SOURCE /* for mkdtemp, usleep */
#include <config.h>
#define _BSD_SOURCE /* for mkdtemp, usleep */
-#define _GNU_SOURCE /* for vasprintf, GNU strerror_r, strchrnul */
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
@@
-2414,7
+2413,7
@@
guestfs__receive_file_sync (guestfs_h *g, const char *filename)
return -1;
}
return -1;
}
- while (
(r = receive_file_data_sync (g, NULL, NULL)
) > 0)
+ while (
receive_file_data_sync (g, NULL, NULL
) > 0)
; /* just discard it */
return -1;
; /* just discard it */
return -1;