tests: fix implicit funciton declaration errors

ioctl() and strcmp() were used without the relevent header being
included.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
This commit is contained in:
Emil Velikov 2015-02-23 13:42:15 +00:00
parent 2b209fc409
commit 794810d62d
7 changed files with 7 additions and 0 deletions

View file

@ -26,6 +26,7 @@
*/
#include <limits.h>
#include <sys/ioctl.h>
#include "drmtest.h"
enum auth_event {

View file

@ -26,6 +26,7 @@
*/
#include <limits.h>
#include <sys/ioctl.h>
#include "drmtest.h"
/**

View file

@ -26,6 +26,7 @@
*/
#include <limits.h>
#include <sys/ioctl.h>
#include "drmtest.h"
/**

View file

@ -30,6 +30,7 @@
*/
#include <limits.h>
#include <sys/ioctl.h>
#include "drmtest.h"
enum auth_event {

View file

@ -28,6 +28,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
#include <string.h>
#include "drmtest.h"
/**

View file

@ -27,6 +27,7 @@
#include <limits.h>
#include <string.h>
#include <sys/ioctl.h>
#include "drmtest.h"
/**

View file

@ -25,6 +25,7 @@
*
*/
#include <sys/ioctl.h>
#include "drmtest.h"
static void