summaryrefslogtreecommitdiff
path: root/src/mesa/main/glheader.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-02-11 02:59:38 +0000
committerEric Anholt <anholt@FreeBSD.org>2006-02-11 02:59:38 +0000
commit91c30771b63ae3498dbcd880930e6faa975c5928 (patch)
tree670d78041aaf8c4c492cfffeeaeb87a7e4d8da88 /src/mesa/main/glheader.h
parentf236300e3a79be14da7f417956227bbe8a680e87 (diff)
Add the ability to define NO_LIBCWRAPPER to avoid libcwrapper brain damage.
If it's true that libcwrapper usage isn't necessary ever in the DllLoader world, then this code should probbaly all go away.
Diffstat (limited to 'src/mesa/main/glheader.h')
-rw-r--r--src/mesa/main/glheader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index 316a008ae3..aab7165c72 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -47,7 +47,7 @@
#define GLHEADER_H
-#if defined(XFree86LOADER) && defined(IN_MODULE)
+#if defined(XFree86LOADER) && defined(IN_MODULE) && !defined(NO_LIBCWRAPPER)
#include "xf86_ansic.h"
#else
#include <assert.h>