From 2cb82ff21c62def11f3683a8bb0aaf363102aaa0 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 21 Dec 2014 18:00:38 +0200 Subject: Fix build when --disable-threads is used. --- src/common/mythread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common') diff --git a/src/common/mythread.h b/src/common/mythread.h index 7a68da8f..be226542 100644 --- a/src/common/mythread.h +++ b/src/common/mythread.h @@ -81,6 +81,8 @@ do { \ #if !(defined(_WIN32) && !defined(__CYGWIN__)) // Use sigprocmask() to set the signal mask in single-threaded programs. +#include + static inline void mythread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict oset) -- cgit v1.2.3