diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2015-11-20 12:01:49 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2015-11-20 12:01:49 +0000 |
commit | 6b720d25a1c3f6f236630db380979b980cf5e21e (patch) | |
tree | 4f0a250cd97d0dbd1a5cda810443b05a6599d09e /include/os.h | |
parent | 43fb888bd01cf9d3d277e77a52a3d0c93ccff8bd (diff) | |
parent | d394c14f032c71e2dcb1850d0528e184e484f51f (diff) |
Merge branch 'cygwin-patches-for-1.18' into cygwin-release-1.18xserver-cygwin-1.18.0-1
Diffstat (limited to 'include/os.h')
-rw-r--r-- | include/os.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h index 9937f2ea5..cca2aeaf7 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 @@ -350,6 +351,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 * @@ -697,6 +702,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); |