Skip to content

Commit 1171af8

Browse files
committed
FIX: there is no in_addr_t defined on Windows
1 parent 0ff0325 commit 1171af8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/os/dev-net.c

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ DEVICE_CMD Listen_Socket(REBREQ *sock);
6060
#ifdef TO_WINDOWS
6161
typedef int socklen_t;
6262
extern HWND Event_Handle; // For WSAAsync API
63+
#ifndef in_addr_t
64+
#define in_addr_t ULONG
65+
#endif
6366
#endif
6467

6568

0 commit comments

Comments
 (0)