summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2011-10-28 16:27:12 -0400
committerKristian Høgsberg <[email protected]>2011-11-02 11:16:02 -0400
commit90de3b9d96394809e2574c6c5b459a9cf745d9dd (patch)
treeea2a4590f7d0d49211b405b39daa45c008bb8fa8 /src/mesa/drivers/dri/common
parente9beaf65fdaf82a7845cbe176f353ddb6b8466c7 (diff)
dri: Remove unnecessary #defines and #includes
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r--src/mesa/drivers/dri/common/dri_util.c8
1 files changed, 0 insertions, 8 deletions
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 <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"