summaryrefslogtreecommitdiff
path: root/slirp/slirp_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/slirp_config.h')
-rw-r--r--slirp/slirp_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h
index a0795ef6b5..e7e95dd5a0 100644
--- a/slirp/slirp_config.h
+++ b/slirp/slirp_config.h
@@ -138,6 +138,9 @@
/* Define if you don't have u_int32_t etc. typedef'd */
#undef NEED_TYPEDEFS
+#ifdef __sun__
+#define NEED_TYPEDEFS
+#endif
/* Define to sizeof(char) */
#define SIZEOF_CHAR 1