[Mesa-dev] Mesa Intel driver build failure: trivial patch

Quentin Glidic sardemff7+freedesktop at sardemff7.net
Tue Oct 9 06:15:47 PDT 2012


Hello,

Since commit 006c1a3c652803e2ff8d5f7ea55c9cb5d8353279, the Intel driver
fails to build due to a missing time.h include.
Attached a trivial patch to fix that.

-- 

Quentin “Sardem FF7” Glidic
-------------- next part --------------
>From ed1508126e4ca28cf15729b3964d1e3054bec7ec Mon Sep 17 00:00:00 2001
From: Quentin Glidic <sardemff7+git at sardemff7.net>
Date: Tue, 9 Oct 2012 14:31:55 +0200
Subject: [PATCH] intel: Add missing #include <time.h>

---
 src/mesa/drivers/dri/intel/intel_screen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index d6e6408..b4992e1 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"
-- 
1.7.12.2



More information about the mesa-dev mailing list