From: Kristian Høgsberg Date: Fri, 28 Oct 2011 20:27:12 +0000 (-0400) Subject: dri: Remove unnecessary #defines and #includes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90de3b9d96394809e2574c6c5b459a9cf745d9dd;p=mesa.git dri: Remove unnecessary #defines and #includes --- diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index 9deb9972714..7ffa86091bd 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -17,19 +17,11 @@ #include #include -#include -#include #include -#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"