intel: Add missing #include <time.h>
authorQuentin Glidic <sardemff7@sardemff7.net>
Tue, 9 Oct 2012 13:15:47 +0000 (15:15 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 9 Oct 2012 16:12:41 +0000 (09:12 -0700)
Commit 006c1a3c652803e2ff8d5f7ea55c9cb5d8353279 introduced a call to
clock_gettime, but failed to include <time.h>, breaking the build in
some cases.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_screen.c

index d6e6408afb2541759fe8d9b9c3d80a9333a44953..b4992e1ad7a08ae30773d53074a4d7389bf864b9 100644 (file)
@@ -26,6 +26,7 @@
  **************************************************************************/
 
 #include <errno.h>
+#include <time.h>
 #include "main/glheader.h"
 #include "main/context.h"
 #include "main/framebuffer.h"