diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-09-23 23:44:48 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-23 23:44:48 +0300 |
commit | c2e799012b3657f4f91560d299b5606c297e7cf7 (patch) | |
tree | 30819b9395fcdf094c24c8c70ed93f82661e071d /git-compat-util.h | |
parent | 0e35107e7dde88a8d53a98773afbbbd23cd694ae (diff) | |
parent | bb390b1f49406d967e8bf3401337cf1d9535f820 (diff) |
Merge branch 'cb/unix-sockets-with-windows'
Adjust credential-cache helper to Windows.
* cb/unix-sockets-with-windows:
git-compat-util: include declaration for unix sockets in windows
credential-cache: check for windows specific errors
t0301: fixes for windows compatibility
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index ddc65ff61d..7c99eef661 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -160,6 +160,9 @@ # endif #define WIN32_LEAN_AND_MEAN /* stops windows.h including winsock.h */ #include <winsock2.h> +#ifndef NO_UNIX_SOCKETS +#include <afunix.h> +#endif #include <windows.h> #define GIT_WINDOWS_NATIVE #endif |