summaryrefslogtreecommitdiffstats
path: root/tests/tcg/linux-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/linux-test.c')
-rw-r--r--tests/tcg/linux-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcg/linux-test.c b/tests/tcg/linux-test.c
index 2e4a746..83cb32d 100644
--- a/tests/tcg/linux-test.c
+++ b/tests/tcg/linux-test.c
@@ -16,6 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#define _GNU_SOURCE
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
@@ -38,6 +39,7 @@
#include <dirent.h>
#include <setjmp.h>
#include <sys/shm.h>
+#include <sched.h>
#define TESTPATH "/tmp/linux-test.tmp"
#define TESTPORT 7654
OpenPOWER on IntegriCloud