diff options
Diffstat (limited to 'crawl-ref/source/libunix.h')
-rw-r--r-- | crawl-ref/source/libunix.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/libunix.h b/crawl-ref/source/libunix.h index 52ecc4f72b..bcbb864e85 100644 --- a/crawl-ref/source/libunix.h +++ b/crawl-ref/source/libunix.h @@ -4,9 +4,10 @@ // Some replacement routines missing in gcc +#ifndef O_BINARY #define O_BINARY O_RDWR +#endif -char *strlwr(char *str); char getche(void); void message_out(int mline, int colour, const char *str, int firstcol = 0, @@ -56,6 +57,7 @@ extern "C" int getch(void); int noecho(void); int echo(void); + char *strlwr(char *str); } #endif |