Skip to content

Commit

Permalink
thirdparty/netutils: fix some more preprocessing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Wertzui123 committed Jan 29, 2025
1 parent e464c00 commit d5f2cbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion thirdparty/netutils/tcp_connection.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#ifdef __WIN32
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <sys/socket.h>
#include <sys/types.h>
#include <netdb.h>
#include <unistd.h>
#include <signal.h>
#define SOCKET int
#endif

#ifndef NETUTILS_MALLOC
Expand Down

0 comments on commit d5f2cbe

Please sign in to comment.