Skip to content

Commit

Permalink
Fixed|GCC|Clang: Fixed build due to lack of enum predeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Mar 1, 2013
1 parent 36dcd24 commit 7fcdfa5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion doomsday/client/include/audio/s_environ.h
Expand Up @@ -23,7 +23,10 @@
#ifndef LIBDENG_SOUND_ENVIRON_H
#define LIBDENG_SOUND_ENVIRON_H

#include "map/gamemap.h"
#include "api_uri.h"

class GameMap;
class Sector;

typedef enum audioenvironmentclass_e {
AEC_UNKNOWN = -1,
Expand Down
1 change: 1 addition & 0 deletions doomsday/client/include/r_util.h
Expand Up @@ -25,6 +25,7 @@
#define LIBDENG_REFRESH_UTIL_H

#include <de/vector1.h>
#include "map/bspnode.h"
#include "map/p_mapdata.h"

#ifdef __cplusplus
Expand Down
2 changes: 1 addition & 1 deletion doomsday/client/include/resource/material.h
Expand Up @@ -23,6 +23,7 @@

#include "MapElement"
#include "def_data.h"
#include "audio/s_environ.h"
#include "map/p_dmu.h" // setargs_t
#include "uri.hh"
#include <de/Error>
Expand All @@ -31,7 +32,6 @@
#include <QList>

// Forward declarations:
enum audioenvironmentclass_e;

namespace de {

Expand Down

0 comments on commit 7fcdfa5

Please sign in to comment.