diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/network.h | 13 | ||||
-rw-r--r-- | src/net/protocol.h | 6 |
2 files changed, 3 insertions, 16 deletions
diff --git a/src/net/network.h b/src/net/network.h index db342f91..f4c67dd4 100644 --- a/src/net/network.h +++ b/src/net/network.h @@ -24,22 +24,15 @@ #ifndef _TMW_NETWORK_H #define _TMW_NETWORK_H -#ifdef WIN32 - #pragma warning (disable:4312) -#endif - -#ifdef WIN32 - #include <allegro.h> - #include <winalleg.h> -#else - #include "win2linux.h" +#ifndef WIN32 +#include "win2linux.h" #endif #include <stdio.h> #include "../log.h" #ifdef MACOSX - #include "win2mac.h" +#include "win2mac.h" #endif /** Macros to write in output buffer, pos is the location where to write data diff --git a/src/net/protocol.h b/src/net/protocol.h index 3a46e91f..4cc66356 100644 --- a/src/net/protocol.h +++ b/src/net/protocol.h @@ -24,16 +24,10 @@ #ifndef _TMW_PROTOCOL_H #define _TMW_PROTOCOL_H -#ifdef WIN32 - #pragma warning (disable:4312) -#endif - #include "../main.h" #include "../being.h" -#include <allegro.h> #ifdef WIN32 -#include <winalleg.h> #include <windows.h> #else #include "win2linux.h" |