dri: drop stray includes and typedef
authorGeorge Sapountzis <gsapountzis@gmail.com>
Thu, 3 Nov 2011 12:38:31 +0000 (14:38 +0200)
committerGeorge Sapountzis <gsapountzis@gmail.com>
Fri, 4 Nov 2011 21:33:05 +0000 (23:33 +0200)
src/mesa/drivers/dri/common/dri_util.c

index 13ba061c1dc9ff7ffddcd1b0a91c579a24eb5203..eb5b5d9d6e54e9163a31daa65829f945e140c9e2 100644 (file)
  */
 
 
-#include <assert.h>
-#include <stdarg.h>
-#include <stdio.h>
-
-#include "main/imports.h"
-
-#include <drm.h>
 #include <xf86drm.h>
 #include "dri_util.h"
 #include "utils.h"
@@ -37,10 +30,6 @@ PUBLIC const char __dri2ConfigOptions[] =
 
 static const uint __dri2NConfigOptions = 1;
 
-#ifndef GLX_OML_sync_control
-typedef GLboolean ( * PFNGLXGETMSCRATEOMLPROC) (__DRIdrawable *drawable, int32_t *numerator, int32_t *denominator);
-#endif
-
 static void dri_get_drawable(__DRIdrawable *pdp);
 static void dri_put_drawable(__DRIdrawable *pdp);