diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2022-03-23 11:56:52 +0800 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2022-03-23 14:43:34 +0000 |
commit | ed93363b7952d5237261140238529fe11448d4e2 (patch) | |
tree | 0146f67af22a18245fd17c77260a04fc2923f7ee /config.hw.in | |
parent | 0640d29682bd9c4bcaec01aa89ba13b6264dc089 (diff) | |
download | neon-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.in | 3 |
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> |