summaryrefslogtreecommitdiff
path: root/include/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/os.h')
-rw-r--r--include/os.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/os.h b/include/os.h
index 3bd412a70..8c09955b2 100644
--- a/include/os.h
+++ b/include/os.h
@@ -51,6 +51,7 @@ SOFTWARE.
#include <stdarg.h>
#include <stdint.h>
#include <string.h>
+#include <signal.h>
#define SCREEN_SAVER_ON 0
#define SCREEN_SAVER_OFF 1
@@ -653,7 +654,10 @@ extern _X_EXPORT void
xorg_backtrace(void);
extern _X_EXPORT void
-xorg_crashreport(void);
+xorg_crashreport(int signo, siginfo_t *sip, void *sigcontext);
+
+extern _X_EXPORT void
+xorg_crashreport_init(const char *logfile);
extern _X_EXPORT int
os_move_fd(int fd);