Missing includes for b5b76ad849

The warnings of implicit function declarations were lost amongst the
noise.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-08-20 12:55:20 +01:00
parent f1b259f627
commit 027569bf83
1 changed files with 3 additions and 1 deletions

View File

@ -28,8 +28,10 @@
#include "config.h"
#endif
#include <unistd.h>
#include <xf86_OSproc.h>
#include <xf86Parser.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <i915_drm.h>
@ -394,7 +396,7 @@ static Bool has_kernel_mode_setting(struct pci_device *dev)
gp.param = I915_PARAM_HAS_GEM;
gp.value = &ret;
(void)drmIoctl(fd, DRM_IOCTL_I915_GETPARAM, &gp, sizeof(gp));
(void)drmIoctl(fd, DRM_IOCTL_I915_GETPARAM, &gp);
close(fd);
}