git/compat
Mike Hommey 395c130fd8 win32: fix building with NO_UNIX_SOCKETS
After 2406bf5f (Win32: detect unix socket support at runtime,
2024-04-03), it fails with:

compat/mingw.c:4160:5: error: no previous prototype for function 'mingw_have_unix_sockets' [-Werror,-Wmissing-prototypes]
   4160 | int mingw_have_unix_sockets(void)
        |     ^

because the prototype is behind `ifndef NO_UNIX_SOCKETS`.

Signed-off-by: Mike Hommey <mh@glandium.org>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-05-03 08:42:50 -07:00
..
fsmonitor fsmonitor--daemon.h: remove unnecessary includes 2023-12-26 12:04:32 -08:00
linux
nedmalloc
poll
regex
simple-ipc treewide: remove unnecessary includes in source files 2023-12-26 12:04:33 -08:00
stub
vcbuild
win32
.gitattributes
access.c
apple-common-crypto.h
basename.c
bswap.h
compiler.h compat: drop inclusion of <git-compat-util.h> 2024-02-24 14:37:41 -08:00
disk.h compat: drop inclusion of <git-compat-util.h> 2024-02-24 14:37:41 -08:00
fileno.c
fopen.c
hstrerror.c
inet_ntop.c
inet_pton.c
memmem.c
mingw.c win32: fix building with NO_UNIX_SOCKETS 2024-05-03 08:42:50 -07:00
mingw.h Win32: detect unix socket support at runtime 2024-04-03 14:54:28 -07:00
mkdir.c
mkdtemp.c
mmap.c
msvc.c
msvc.h
nonblock.c
nonblock.h
obstack.c
obstack.h
open.c
pread.c
precompose_utf8.c
precompose_utf8.h
qsort_s.c
regcomp_enhanced.c
setenv.c
sha1-chunked.c
sha1-chunked.h
snprintf.c
stat.c
strcasestr.c
strdup.c
strlcpy.c
strtoimax.c
strtoumax.c
terminal.c
terminal.h
unsetenv.c
win32.h
win32mmap.c
winansi.c
zlib-uncompress2.c