From 027569bf83fc6d67dca7cfd65fdfa37ef6b47204 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 20 Aug 2012 12:55:20 +0100 Subject: [PATCH 3/3] Missing includes for b5b76ad849b The warnings of implicit function declarations were lost amongst the noise. Signed-off-by: Chris Wilson --- src/intel_module.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/intel_module.c b/src/intel_module.c index 0a70b24..edea48d 100644 --- a/src/intel_module.c +++ b/src/intel_module.c @@ -28,8 +28,10 @@ #include "config.h" #endif +#include #include #include +#include #include #include @@ -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); } -- 1.7.7.6