summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorQuentin Glidic <[email protected]>2012-10-09 15:15:47 +0200
committerKenneth Graunke <[email protected]>2012-10-09 09:12:41 -0700
commit7cb8764ca39cb7f325d6da10a8b11bf24adf2ae0 (patch)
tree07642f14deef43bf6a6032bcc16cd00528f73864 /src/mesa/drivers
parentb6346749a839325e938fbb225af06006bc711ac5 (diff)
intel: Add missing #include <time.h>
Commit 006c1a3c652803e2ff8d5f7ea55c9cb5d8353279 introduced a call to clock_gettime, but failed to include <time.h>, breaking the build in some cases. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/intel/intel_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index d6e6408afb2..b4992e1ad7a 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -26,6 +26,7 @@
**************************************************************************/
#include <errno.h>
+#include <time.h>
#include "main/glheader.h"
#include "main/context.h"
#include "main/framebuffer.h"