summaryrefslogtreecommitdiff
path: root/linux-user/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/exit.c')
-rw-r--r--linux-user/exit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/exit.c b/linux-user/exit.c
index 14e94e28fa..bdda720553 100644
--- a/linux-user/exit.c
+++ b/linux-user/exit.c
@@ -18,6 +18,9 @@
*/
#include "qemu/osdep.h"
#include "qemu.h"
+#ifdef TARGET_GPROF
+#include <sys/gmon.h>
+#endif
#ifdef CONFIG_GCOV
extern void __gcov_dump(void);