util: Include time.h on all platforms.
commit52fa3545035ce7c7520dcfaab69bc165d281b21c
authorVinson Lee <vlee@freedesktop.org>
Thu, 3 Nov 2016 21:25:16 +0000 (3 14:25 -0700)
committerVinson Lee <vlee@freedesktop.org>
Fri, 4 Nov 2016 22:00:41 +0000 (4 15:00 -0700)
treeb675ba5146991a17f8e63bc605e939c0fc23665a
parent3ba2ddd3a8b71ca7420fa10e9ad5a0415e197ca3
util: Include time.h on all platforms.

Fix MinGW build error.

piglit-util.c: In function 'piglit_time_is_monotonic':
piglit-util.c:583:18: error: storage size of 't' isn't known
  struct timespec t;
                  ^

Fixes: e0048f4940f7 ("util: Add piglit_delay_ns() api")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98486
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Brian Paul <brianp@vmware.com>
tests/util/piglit-util.c