Message ID | d80a1905942afecafc04dba4bf51103cd30d37a1.1412622515.git.riku.voipio@linaro.org |
---|---|
State | Accepted |
Commit | d80a1905942afecafc04dba4bf51103cd30d37a1 |
Headers | show |
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 7087a56..a175cc1 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -58,7 +58,6 @@ int __clone2(int (*fn)(void *), void *child_stack_base, #include <sys/shm.h> #include <sys/sem.h> #include <sys/statfs.h> -#include <sys/timerfd.h> #include <utime.h> #include <sys/sysinfo.h> //#include <sys/user.h> @@ -67,6 +66,9 @@ int __clone2(int (*fn)(void *), void *child_stack_base, #include <linux/wireless.h> #include <linux/icmp.h> #include "qemu-common.h" +#ifdef CONFIG_TIMERFD +#include <sys/timerfd.h> +#endif #ifdef TARGET_GPROF #include <sys/gmon.h> #endif