From 345980af5ed1080317bc671c852bb6e92c5d0ba1 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Thu, 20 Aug 2015 02:32:00 +1000 Subject: [PATCH] Changed an inclusion path I've also modified my local SDL_net install to ensure that it built with the correct version of SDL. Long story short: This worked me up way too much. --- network/packet_types/serial_packet_base.hpp | 2 +- network/udp_network_utility.hpp | 2 +- utilities/ip_operators.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/network/packet_types/serial_packet_base.hpp b/network/packet_types/serial_packet_base.hpp index 22ff75b..a2eafff 100644 --- a/network/packet_types/serial_packet_base.hpp +++ b/network/packet_types/serial_packet_base.hpp @@ -23,7 +23,7 @@ #include "serial_packet_type.hpp" -#include "SDL_net.h" +#include "SDL2/SDL_net.h" constexpr int PACKET_STRING_SIZE = 100; diff --git a/network/udp_network_utility.hpp b/network/udp_network_utility.hpp index d770244..6c48ac3 100644 --- a/network/udp_network_utility.hpp +++ b/network/udp_network_utility.hpp @@ -26,7 +26,7 @@ #include "singleton.hpp" //APIs -#include "SDL_net.h" +#include "SDL2/SDL_net.h" class UDPNetworkUtility : public Singleton { public: diff --git a/utilities/ip_operators.hpp b/utilities/ip_operators.hpp index 5e3c208..a3d5b62 100644 --- a/utilities/ip_operators.hpp +++ b/utilities/ip_operators.hpp @@ -21,7 +21,7 @@ */ #pragma once -#include "SDL_net.h" +#include "SDL2/SDL_net.h" //these should've come standard bool operator==(IPaddress lhs, IPaddress rhs);