summaryrefslogtreecommitdiff
path: root/src/syssignal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/syssignal.h')
-rw-r--r--src/syssignal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syssignal.h b/src/syssignal.h
index 21df63959f5..56988be6b78 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -19,7 +19,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
extern void init_signals P_ ((void));
-#if defined (HAVE_GTK_AND_PTHREAD)
+#if defined (HAVE_GTK_AND_PTHREAD) || defined (HAVE_NS)
#include <pthread.h>
/* If defined, asynchronous signals delivered to a non-main thread are
forwarded to the main thread. */