summaryrefslogtreecommitdiff
path: root/tests/pm_rc6_residency.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-22 21:29:01 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-22 21:29:01 +0100
commit254f19ba8dc4b00d0d5df0a4f8d0a0cb104b2df5 (patch)
tree31e0e88971205d7483ed7602cf65214f95dc0b29 /tests/pm_rc6_residency.c
parente49ceb869056255b8b6b94720b2279f6de88c893 (diff)
lib: unnecessary header removal for drmtest.h, part 2
I've left unistd.h in it - it's not strictly required but most users of drmtest.h want it for the open helpers, and then you kinda need to close that file descriptor again ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/pm_rc6_residency.c')
-rw-r--r--tests/pm_rc6_residency.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pm_rc6_residency.c b/tests/pm_rc6_residency.c
index 3fd9d47e..84eb8a90 100644
--- a/tests/pm_rc6_residency.c
+++ b/tests/pm_rc6_residency.c
@@ -30,6 +30,8 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <errno.h>
+
#include "drmtest.h"
#define SLEEP_DURATION 3000 // in milliseconds