diff options
author | Brad Smith <brad@comstyle.com> | 2021-06-27 12:17:08 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2021-06-27 12:17:35 +0200 |
commit | 0e069018082d9736e15fe8ba93a47a0f4a787e39 (patch) | |
tree | 3f8c8d723ffcf921e9e57d9c7d9cf9d16df66e71 | |
parent | 9b9e0c407b1907fa882c247975821e52ceabc2db (diff) | |
download | vte-0e069018082d9736e15fe8ba93a47a0f4a787e39.tar.gz |
build: Fix build on non-linux systems
Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2501
(cherry picked from commit 674f864269d0842376752487f29bfdddc8c7ec9f)
-rw-r--r-- | src/missing.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/missing.hh b/src/missing.hh index 80ffe355..e5a58727 100644 --- a/src/missing.hh +++ b/src/missing.hh @@ -21,11 +21,14 @@ #include <csignal> #include <fcntl.h> + +#ifdef __linux__ #include <sys/syscall.h> #if defined(__mips__) || defined(__mips64__) #include <asm/sgidefs.h> #endif +#endif /* NSIG isn't in POSIX, so if it doesn't exist use this here. See bug #759196 */ #ifndef NSIG |