summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2021-03-24 18:28:48 +0100
committerChristian Persch <chpe@src.gnome.org>2021-03-24 18:29:07 +0100
commit23f56581f8e999140b11793ac0a7a2461cb6ab40 (patch)
treef2621bf43a14070f738e8604de88fe29b1b0bf6b
parent5166968afc7673dd9346e84a036630f996bb971c (diff)
downloadvte-23f56581f8e999140b11793ac0a7a2461cb6ab40.tar.gz
build: Add missing includes
Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/342 (cherry picked from commit 21685ded3e4a1dba02822ba248b0445e24a58dab)
-rw-r--r--src/missing.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/missing.hh b/src/missing.hh
index d5d0484c..80ffe355 100644
--- a/src/missing.hh
+++ b/src/missing.hh
@@ -19,6 +19,14 @@
/* NOTE: This file must be included *after all other includes*. */
+#include <csignal>
+#include <fcntl.h>
+#include <sys/syscall.h>
+
+#if defined(__mips__) || defined(__mips64__)
+#include <asm/sgidefs.h>
+#endif
+
/* NSIG isn't in POSIX, so if it doesn't exist use this here. See bug #759196 */
#ifndef NSIG
#define NSIG (8 * sizeof(sigset_t))