[vte/vte-0-64] build: Add missing includes



commit 23f56581f8e999140b11793ac0a7a2461cb6ab40
Author: Christian Persch <chpe src gnome org>
Date:   Wed Mar 24 18:28:48 2021 +0100

    build: Add missing includes
    
    Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/342
    (cherry picked from commit 21685ded3e4a1dba02822ba248b0445e24a58dab)

 src/missing.hh | 8 ++++++++
 1 file changed, 8 insertions(+)
---
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))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]