summaryrefslogtreecommitdiff
path: root/include/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/os.h')
-rw-r--r--include/os.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h
index 3646194a0..439b28661 100644
--- a/include/os.h
+++ b/include/os.h
@@ -61,6 +61,8 @@ SOFTWARE.
#include <bsd/string.h> /* for strlcpy, strlcat */
#endif
+#include <signal.h>
+
#define SCREEN_SAVER_ON 0
#define SCREEN_SAVER_OFF 1
#define SCREEN_SAVER_FORCER 2
@@ -354,6 +356,10 @@ extern _X_EXPORT void *
Fopen(const char *, const char *);
extern _X_EXPORT int
Fclose(void *);
+#if defined(__CYGWIN__)
+extern const char *
+Win32TempDir(void);
+#endif
#else
extern const char *
@@ -711,6 +717,12 @@ LogPrintMarkers(void);
extern _X_EXPORT void
xorg_backtrace(void);
+extern _X_EXPORT 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);