Skip to content

Commit

Permalink
linux mac fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemoralis committed Jan 27, 2025
1 parent 3d0b2d1 commit 028a624
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/libraries/network/net_util.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#ifdef _WIN32
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include <Ws2tcpip.h>
Expand All @@ -8,6 +11,7 @@ typedef int socklen_t;
#else
#include <cerrno>
#include <arpa/inet.h>
#include <net/if.h>
#include <netdb.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
Expand Down

0 comments on commit 028a624

Please sign in to comment.