projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9beaf6
)
dri: Remove unnecessary #defines and #includes
author
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 28 Oct 2011 20:27:12 +0000
(16:27 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 2 Nov 2011 15:16:02 +0000
(11:16 -0400)
src/mesa/drivers/dri/common/dri_util.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/common/dri_util.c
b/src/mesa/drivers/dri/common/dri_util.c
index
9deb997
..
7ffa860
100644
(file)
--- 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"