diff options
Diffstat (limited to 'app/xterm/xterm.h')
-rw-r--r-- | app/xterm/xterm.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/xterm/xterm.h b/app/xterm/xterm.h index e8a2af52e..638d0463d 100644 --- a/app/xterm/xterm.h +++ b/app/xterm/xterm.h @@ -164,6 +164,8 @@ authorization. #endif #if defined(__OpenBSD__) +#define USE_UTMP_SETGID TRUE +#define USE_OPENPTY TRUE #define DEFDELETE_DEL TRUE #define DEF_BACKARO_ERASE TRUE #define DEF_INITIAL_ERASE TRUE @@ -174,6 +176,10 @@ authorization. #define OPT_SCO_FUNC_KEYS 1 #endif +#if defined(__OpenBSD__) +#define DEFDELETE_DEL TRUE +#endif + #if defined(__SCO__) || defined(SVR4) || defined(_POSIX_SOURCE) || defined(__QNX__) || defined(__hpux) || (defined(BSD) && (BSD >= 199103)) || defined(__CYGWIN__) #define USE_POSIX_WAIT #endif @@ -777,7 +783,7 @@ extern SIGNAL_T Exit (int /* n */); #endif #ifndef SIG_ATOMIC_T -#define SIG_ATOMIC_T int +#define SIG_ATOMIC_T volatile sig_atomic_t #endif #if OPT_WIDE_CHARS |