dri: Remove unnecessary headers.
authorVinson Lee <vlee@vmware.com>
Sat, 13 Feb 2010 07:18:08 +0000 (23:18 -0800)
committerVinson Lee <vlee@vmware.com>
Sat, 13 Feb 2010 07:18:08 +0000 (23:18 -0800)
src/mesa/drivers/dri/common/dri_metaops.c
src/mesa/drivers/dri/common/drirenderbuffer.c
src/mesa/drivers/dri/common/xmlconfig.c

index c7bea07dc97347ed188770f62fad4ce40d411971..dfb7d64040942b99ac83e61e36136f4bd5a531d7 100644 (file)
  **************************************************************************/
 
 #include "main/arrayobj.h"
-#include "main/attrib.h"
-#include "main/blend.h"
 #include "main/bufferobj.h"
-#include "main/buffers.h"
-#include "main/depth.h"
 #include "main/enable.h"
 #include "main/matrix.h"
-#include "main/macros.h"
-#include "main/polygon.h"
-#include "main/shaders.h"
-#include "main/stencil.h"
 #include "main/texstate.h"
 #include "main/varray.h"
 #include "main/viewport.h"
index 3126ea847603ee82d5a4f5c3591656597a012de1..fe38f608a97b72e4574d44b3aeb948898a2317d3 100644 (file)
@@ -1,7 +1,6 @@
 
 #include "main/mtypes.h"
 #include "main/formats.h"
-#include "main/framebuffer.h"
 #include "main/renderbuffer.h"
 #include "main/imports.h"
 #include "drirenderbuffer.h"
index 46ba2ffbfedb64a1b7f7845fa347026c5dabc87c..477259ea7e0fcc373849dba2db412a5cc5065c35 100644 (file)
 #include "dri_util.h"
 #include "xmlconfig.h"
 
-/*
- * OS dependent ways of getting the name of the running program
- */
-#if (defined(__unix__) || defined(unix)) && !defined(USG)
-#include <sys/param.h>
-#endif
-
 #undef GET_PROGRAM_NAME
 
 #if (defined(__GNU_LIBRARY__) || defined(__GLIBC__)) && !defined(__UCLIBC__)