summaryrefslogtreecommitdiff
path: root/lib/curl_setup.h
diff options
context:
space:
mode:
authorJan Mazur <mzr@fb.com>2021-09-29 00:13:59 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-09-30 12:27:47 +0200
commit0fe9018e1a1af0d906dfe934efe2f2b1ba48f060 (patch)
treef16be1829f9de6e6aa02d144a5ebbab67c5530cb /lib/curl_setup.h
parent5de119d0b821286022ce1e928738cd9efb0f72fb (diff)
downloadcurl-0fe9018e1a1af0d906dfe934efe2f2b1ba48f060.tar.gz
connnect: use sysaddr_un fron sys/un.h or custom-defined for windows
Closes #7737
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r--lib/curl_setup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index 3840636f6..61384cdff 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -838,6 +838,7 @@ int getpwuid_r(uid_t uid, struct passwd *pwd, char *buf,
ADDRESS_FAMILY sun_family;
char sun_path[UNIX_PATH_MAX];
} SOCKADDR_UN, *PSOCKADDR_UN;
+# define WIN32_SOCKADDR_UN
# endif
#endif