summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-10 16:37:51 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-10 16:37:51 +0000
commiteeb9ee8eb46f0a0ab641c4663a075cdd3e2884ea (patch)
tree193001e4f6a77726ed5bf547d51da7fb6787363d /crawl-ref/source/libunix.cc
parentb40ee659b4b7803237885ad06f0b45a65498d19f (diff)
downloadcrawl-ref-eeb9ee8eb46f0a0ab641c4663a075cdd3e2884ea.tar.gz
crawl-ref-eeb9ee8eb46f0a0ab641c4663a075cdd3e2884ea.zip
Fixed compile breaking on Linux.
Orb guardians are no longer valid polymorph targets. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1570 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r--crawl-ref/source/libunix.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc
index 9dbf1db8e0..133eb70620 100644
--- a/crawl-ref/source/libunix.cc
+++ b/crawl-ref/source/libunix.cc
@@ -63,7 +63,9 @@ static struct termios game_term;
// Its best if curses comes at the end (name conflicts with Solaris). -- bwr
#ifndef CURSES_INCLUDE_FILE
+ #ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
+ #endif
#include <curses.h>
#else
#include CURSES_INCLUDE_FILE