aboutsummaryrefslogtreecommitdiff
path: root/slirp/slirp_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/slirp_config.h')
-rw-r--r--slirp/slirp_config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h
index 5b014f2750..856c315675 100644
--- a/slirp/slirp_config.h
+++ b/slirp/slirp_config.h
@@ -61,7 +61,10 @@
#define HAVE_STDLIB_H
/* Define if you have sys/ioctl.h */
+#undef HAVE_SYS_IOCTL_H
+#ifndef _WIN32
#define HAVE_SYS_IOCTL_H
+#endif
/* Define if you have sys/filio.h */
#undef HAVE_SYS_FILIO_H
@@ -93,6 +96,9 @@
/* Define if iovec needs to be declared */
#undef DECLARE_IOVEC
+#ifdef _WIN32
+#define DECLARE_IOVEC
+#endif
/* Define if a declaration of sprintf/fprintf is needed */
#undef DECLARE_SPRINTF
@@ -101,13 +107,19 @@
#undef HAVE_SYS_WAIT_H
/* Define if you have sys/select.h */
+#undef HAVE_SYS_SELECT_H
+#ifndef _WIN32
#define HAVE_SYS_SELECT_H
+#endif
/* Define if you have strings.h */
#define HAVE_STRING_H
/* Define if you have arpa/inet.h */
+#undef HAVE_ARPA_INET_H
+#ifndef _WIN32
#define HAVE_ARPA_INET_H
+#endif
/* Define if you have sys/signal.h */
#undef HAVE_SYS_SIGNAL_H
@@ -147,7 +159,10 @@
#undef HAVE_SRANDOM
/* Define if you have inet_aton */
+#undef HAVE_INET_ATON
+#ifndef _WIN32
#define HAVE_INET_ATON
+#endif
/* Define if you have setenv */
#undef HAVE_SETENV
@@ -169,6 +184,9 @@
/* Define if you DON'T have unix-domain sockets */
#undef NO_UNIX_SOCKETS
+#ifdef _WIN32
+#define NO_UNIX_SOCKETS
+#endif
/* Define if gettimeofday only takes one argument */
#undef GETTIMEOFDAY_ONE_ARG