diff options
Diffstat (limited to 'src/xz/message.c')
-rw-r--r-- | src/xz/message.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xz/message.c b/src/xz/message.c index e342a3ff..33eb0b3b 100644 --- a/src/xz/message.c +++ b/src/xz/message.c @@ -207,6 +207,9 @@ message_init(const char *given_argv0) #ifdef _WIN32 timer_queue = CreateTimerQueue(); #else +# ifndef SA_RESTART +# define SA_RESTART 0 +# endif // Establish the signal handler for SIGALRM. Since this signal // doesn't require any quick action, we set SA_RESTART. struct sigaction sa; |