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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysemu/os-posix.h b/include/sysemu/os-posix.h
index 5b9c4d6143..e9fec2e250 100644
--- a/include/sysemu/os-posix.h
+++ b/include/sysemu/os-posix.h
@@ -34,6 +34,8 @@ void os_daemonize(void);
void os_setup_post(void);
int os_mlock(void);
+#define socket_error() errno
+
typedef struct timeval qemu_timeval;
#define qemu_gettimeofday(tp) gettimeofday(tp, NULL)