summaryrefslogtreecommitdiff
path: root/include/sysemu/os-posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysemu/os-posix.h')
-rw-r--r--include/sysemu/os-posix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sysemu/os-posix.h b/include/sysemu/os-posix.h
index b0a6c0695b..900bdcb45a 100644
--- a/include/sysemu/os-posix.h
+++ b/include/sysemu/os-posix.h
@@ -34,6 +34,10 @@
#include <netdb.h>
#include <sys/un.h>
+#ifdef CONFIG_SYSMACROS
+#include <sys/sysmacros.h>
+#endif
+
void os_set_line_buffering(void);
void os_set_proc_name(const char *s);
void os_setup_signal_handling(void);