(svn r17699) -Codechange: move #ifdef ENABLE_NETWORK till after the 'generic' includes so compilation without network support doesn't get broken as easily by changes in header files

This commit is contained in:
rubidium
2009-10-04 20:00:56 +00:00
parent 1ee5520854
commit 5ff6053326
13 changed files with 26 additions and 26 deletions

View File

@@ -71,8 +71,6 @@
#ifndef NETWORK_CORE_UDP_H
#define NETWORK_CORE_UDP_H
#ifdef ENABLE_NETWORK
#include "os_abstraction.h"
#include "address.h"
#include "core.h"
@@ -80,6 +78,8 @@
#include "packet.h"
#include "../../debug.h"
#ifdef ENABLE_NETWORK
/** Enum with all types of UDP packets. The order MUST not be changed **/
enum PacketUDPType {
PACKET_UDP_CLIENT_FIND_SERVER, ///< Queries a game server for game information