summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/libunix.h')
-rw-r--r--crawl-ref/source/libunix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/libunix.h b/crawl-ref/source/libunix.h
index b1c2090f83..12602014fb 100644
--- a/crawl-ref/source/libunix.h
+++ b/crawl-ref/source/libunix.h
@@ -22,6 +22,8 @@ typedef unsigned int screen_buffer_t;
typedef unsigned short screen_buffer_t;
#endif
+#include <stdio.h>
+
char getche(void);
void message_out(int mline, int colour, const char *str, int firstcol = 0,
@@ -66,6 +68,10 @@ inline bool is_smart_cursor_enabled() { return (false); }
void set_mouse_enabled(bool enabled);
+void init_crash_handler();
+void dump_crash_info(FILE* file);
+void write_stack_trace(FILE* file, int ignore_count);
+
#ifndef _LIBUNIX_IMPLEMENTATION
/* Some stuff from curses, to remove compiling warnings.. */
extern "C"