On Wed, Dec 3, 2014 at 12:53 PM, Jan Vesely <[email protected]> wrote: > Signed-off-by: Jan Vesely <[email protected]> > --- > tests/spec/arb_timer_query/timestamp-get.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tests/spec/arb_timer_query/timestamp-get.c > b/tests/spec/arb_timer_query/timestamp-get.c > index 031c7a1..98a58d2 100644 > --- a/tests/spec/arb_timer_query/timestamp-get.c > +++ b/tests/spec/arb_timer_query/timestamp-get.c > @@ -24,6 +24,7 @@ > #include "piglit-util-gl.h" > > #include <inttypes.h> /* for PRIu64 macro */ > +#include <unistd.h> /* for usleep */ > > /** > * @file timestamp-get.c > -- > 1.9.3 > > _______________________________________________ > Piglit mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/piglit
Windows does not have unistd.h so it needs to be checked for before inclusion. #ifdef HAVE_UNISTD_H #include <unistd.h> #endif _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
