[Mesa-dev] [PATCH 11/24] dri/common: remove duplicated include

Nicolas Kaiser nikai at nikai.net
Thu Sep 30 07:36:12 PDT 2010


Remove duplicated include.
---
 src/mesa/drivers/dri/common/vblank.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/mesa/drivers/dri/common/vblank.h b/src/mesa/drivers/dri/common/vblank.h
index 29d1ad8..067fb5e 100644
--- a/src/mesa/drivers/dri/common/vblank.h
+++ b/src/mesa/drivers/dri/common/vblank.h
@@ -61,10 +61,6 @@ extern int driWaitForVBlank( __DRIdrawable *priv,
 #include <unistd.h>  /* for usleep() */
 #include <sched.h>   /* for sched_yield() */
 
-#ifdef linux
-#include <sched.h>   /* for sched_yield() */
-#endif
-
 #define DO_USLEEP(nr)							\
    do {								 	\
       if (0) fprintf(stderr, "%s: usleep for %u\n", __FUNCTION__, nr );	\
-- 
1.7.2.2


More information about the mesa-dev mailing list