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, 1 insertions, 2 deletions
diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h
index 856c315675..a0795ef6b5 100644
--- a/slirp/slirp_config.h
+++ b/slirp/slirp_config.h
@@ -149,8 +149,7 @@
#define SIZEOF_INT 4
/* Define to sizeof(char *) */
-/* XXX: patch it */
-#define SIZEOF_CHAR_P 4
+#define SIZEOF_CHAR_P (HOST_LONG_BITS / 8)
/* Define if you have random() */
#undef HAVE_RANDOM