aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common.h')
-rw-r--r--executor/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/common.h b/executor/common.h
index 62462817f..499d0076a 100644
--- a/executor/common.h
+++ b/executor/common.h
@@ -2,11 +2,13 @@
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
// This file is shared between executor and csource package.
+#define _GNU_SOURCE
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <grp.h>
#include <linux/capability.h>
+#include <linux/sched.h>
#include <pthread.h>
#include <setjmp.h>
#include <signal.h>