Skip to content

Commit d39c827

Browse files
committed
Merge branch 'ew/daemon-socket-keepalive' into next
Portability fix. * ew/daemon-socket-keepalive: Windows: add missing definition of ENOTSOCK
2 parents 22bb7ed + fab6027 commit d39c827

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compat/mingw.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ typedef int pid_t;
7373
#ifndef ECONNABORTED
7474
#define ECONNABORTED WSAECONNABORTED
7575
#endif
76+
#ifndef ENOTSOCK
77+
#define ENOTSOCK WSAENOTSOCK
78+
#endif
7679

7780
struct passwd {
7881
char *pw_name;

0 commit comments

Comments
 (0)