summaryrefslogtreecommitdiff
path: root/config.hw.in
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-03-23 11:56:52 +0800
committerJoe Orton <jorton@apache.org>2022-03-23 14:43:34 +0000
commited93363b7952d5237261140238529fe11448d4e2 (patch)
tree0146f67af22a18245fd17c77260a04fc2923f7ee /config.hw.in
parent0640d29682bd9c4bcaec01aa89ba13b6264dc089 (diff)
downloadneon-git-ed93363b7952d5237261140238529fe11448d4e2.tar.gz
config.hw.in: Only typedef socklen_t when not building IPv6
If we are building with IPv6 support, we include ws2tcpip.h which defines socklen_t for us.
Diffstat (limited to 'config.hw.in')
-rw-r--r--config.hw.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/config.hw.in b/config.hw.in
index 739bae3..0b8cf3a 100644
--- a/config.hw.in
+++ b/config.hw.in
@@ -97,9 +97,8 @@
#ifndef USE_GETADDRINFO
#define in_addr_t unsigned int
-#endif
-
typedef int socklen_t;
+#endif
#include <io.h>