--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -16,6 +16,10 @@
* along with this program; if not, see .
*/
#define _ATFILE_SOURCE
+#include /* To possibly get __GLIBC__ definition. */
+#ifndef __GLIBC__
+#define _LINUX_SYSINFO_H /* to avoid duplicated sysinfo struct definition */
+#endif
#include "qemu/osdep.h"
#include "qemu/cutils.h"
#include "qemu/path.h"
.