Commit 474fae6d authored by Petri Latvala's avatar Petri Latvala

lib: Add missing include for sync()

Commit 721d8747 added sync() calls to igt_main and
igt_simple_main, making self-tests fail to build. #including unistd.h
in igt_core.h fixes that.

Fixes: 721d8747 ("igt: Add a test for reordering execbufs")
CC: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
Reviewed-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent 49f44c71
......@@ -39,6 +39,7 @@
#include <sys/types.h>
#include <stdarg.h>
#include <getopt.h>
#include <unistd.h>
#ifndef IGT_LOG_DOMAIN
#define IGT_LOG_DOMAIN (NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment