commit | 2cb82ff21c62def11f3683a8bb0aaf363102aaa0 | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Sun Dec 21 18:00:38 2014 +0200 |
committer | Lasse Collin <lasse.collin@tukaani.org> | Sun Dec 21 18:00:38 2014 +0200 |
tree | 503a9f377efdc5d275b5d5a0d850d271502980dd | |
parent | 9b9e3536e458ef958f66b0e8982efc9d36de4d17 [diff] |
Fix build when --disable-threads is used.
diff --git a/src/common/mythread.h b/src/common/mythread.h index 7a68da8..be22654 100644 --- a/src/common/mythread.h +++ b/src/common/mythread.h
@@ -81,6 +81,8 @@ #if !(defined(_WIN32) && !defined(__CYGWIN__)) // Use sigprocmask() to set the signal mask in single-threaded programs. +#include <signal.h> + static inline void mythread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict oset)