diff options
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r-- | crawl-ref/source/AppHdr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index 840480b808..50a3dc0eda 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -308,8 +308,10 @@ #ifdef USE_TILE + #ifdef __cplusplus #include "libgui.h" #include "tilesdl.h" + #endif #endif // ========================================================================= @@ -463,6 +465,8 @@ // #define NEED_USLEEP // #define NEED_SNPRINTF +#ifdef __cplusplus + // Must include libutil.h here if one of the above is defined. #include "libutil.h" @@ -476,3 +480,5 @@ inline void UNUSED(const volatile T &) #include "version.h" #endif + +#endif |