dri: Remove unnecessary #defines and #includes
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 28 Oct 2011 20:27:12 +0000 (16:27 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 2 Nov 2011 15:16:02 +0000 (11:16 -0400)
src/mesa/drivers/dri/common/dri_util.c

index 9deb99727143dc9e611b92dee4928c568d017c93..7ffa86091bd28bb4445839fdb13d06a1a2e2ed2b 100644 (file)
 
 #include <assert.h>
 #include <stdarg.h>
-#include <unistd.h>
-#include <sys/mman.h>
 #include <stdio.h>
 
-#ifndef MAP_FAILED
-#define MAP_FAILED ((void *)-1)
-#endif
-
 #include "main/imports.h"
-#define None 0
 
 #include "dri_util.h"
-#include "drm_sarea.h"
 #include "utils.h"
 #include "xmlpool.h"
 #include "../glsl/glsl_parser_extras.h"