diff options
| author | Philipp Stephani | 2021-04-11 12:26:13 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2021-04-11 12:26:13 +0200 |
| commit | 0334fa0532e63f22486b5142fa399decf54b18c0 (patch) | |
| tree | 770dade1b2f2f93b2746c61124f50d806ac7000a /src | |
| parent | 25937821bc445235d984c4db8cb18dfbacd6a4ff (diff) | |
| download | emacs-0334fa0532e63f22486b5142fa399decf54b18c0.tar.gz emacs-0334fa0532e63f22486b5142fa399decf54b18c0.zip | |
Add another check for the required header <linux/filter.h>.
* configure.ac: Also check for <linux/filter.h>.
* src/emacs.c (SECCOMP_USABLE): Also check for <linux/filter.h>.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emacs.c b/src/emacs.c index bd01d7bb461..694d975ec3d 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -61,8 +61,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 61 | # include <sys/socket.h> | 61 | # include <sys/socket.h> |
| 62 | #endif | 62 | #endif |
| 63 | 63 | ||
| 64 | #if defined HAVE_LINUX_SECCOMP_H \ | 64 | #if defined HAVE_LINUX_SECCOMP_H && defined HAVE_LINUX_FILTER_H \ |
| 65 | && HAVE_DECL_SECCOMP_SET_MODE_FILTER \ | 65 | && HAVE_DECL_SECCOMP_SET_MODE_FILTER \ |
| 66 | && HAVE_DECL_SECCOMP_FILTER_FLAG_TSYNC | 66 | && HAVE_DECL_SECCOMP_FILTER_FLAG_TSYNC |
| 67 | # define SECCOMP_USABLE 1 | 67 | # define SECCOMP_USABLE 1 |
| 68 | #else | 68 | #else |