Skip to content

Commit

Permalink
Fix game compilation error on non-Windows platforms due to the errno …
Browse files Browse the repository at this point in the history
…stuff being defined elsewhere.
  • Loading branch information
danij-deng committed Mar 1, 2011
1 parent 2c3a527 commit 3dac68b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doomsday/plugins/jdoom/src/m_cheat.c
Expand Up @@ -32,6 +32,9 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
#ifdef UNIX
# include <errno.h>
#endif

#include "jdoom.h"

Expand Down
3 changes: 3 additions & 0 deletions doomsday/plugins/jdoom64/src/m_cheat.c
Expand Up @@ -34,6 +34,9 @@
#include <string.h>
#include <stdio.h>
#include <math.h>
#ifdef UNIX
# include <errno.h>
#endif

#include "jdoom64.h"

Expand Down
3 changes: 3 additions & 0 deletions doomsday/plugins/jheretic/src/m_cheat.c
Expand Up @@ -33,6 +33,9 @@
#include <stdio.h>
#include <string.h>
#include <math.h>
#ifdef UNIX
# include <errno.h>
#endif

#include "jheretic.h"

Expand Down
3 changes: 3 additions & 0 deletions doomsday/plugins/jhexen/src/m_cheat.c
Expand Up @@ -33,6 +33,9 @@
#include <stdio.h>
#include <string.h>
#include <math.h>
#ifdef UNIX
# include <errno.h>
#endif

#include "jhexen.h"

Expand Down

0 comments on commit 3dac68b

Please sign in to comment.