Commit 395c130
win32: fix building with NO_UNIX_SOCKETS
After 2406bf5 (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 <[email protected]>
Acked-by: Johannes Schindelin <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 2406bf5 commit 395c130
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3159 | 3159 | | |
3160 | 3160 | | |
3161 | 3161 | | |
| 3162 | + | |
3162 | 3163 | | |
3163 | 3164 | | |
3164 | 3165 | | |
| |||
3177 | 3178 | | |
3178 | 3179 | | |
3179 | 3180 | | |
| 3181 | + | |
0 commit comments