aboutsummaryrefslogtreecommitdiffstats
path: root/include/GL/internal/dri_interface.h
diff options
context:
space:
mode:
authorSamuel Thibault <[email protected]>2009-04-23 05:43:22 -0700
committerDan Nicholson <[email protected]>2009-04-24 19:10:01 -0700
commitd18dd6ad11268c7a6c2835f4f5fa999c735da300 (patch)
tree453f42b1d5a13ac21469c9f2c45e3f2263b65729 /include/GL/internal/dri_interface.h
parent022319b92ccd2f3bfc4aca54ebc7e39aeddd8b21 (diff)
GNU/Hurd fixes
Here is a couple of fixes for GNU/Hurd: - dri_interface.h: no libdrm support either. - configure.ac: - GNU/Hurd is a GNU OS with _GNU_SOURCE and PTHREADS. - GNU needs a couple of flags like other OSes Signed-off-by: Dan Nicholson <[email protected]>
Diffstat (limited to 'include/GL/internal/dri_interface.h')
-rw-r--r--include/GL/internal/dri_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index bfa8a33b3c7..910c9166b5e 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -41,7 +41,7 @@
#define DRI_INTERFACE_H
/* For archs with no drm.h */
-#if !defined(__APPLE__) && !defined(__CYGWIN__)
+#if !defined(__APPLE__) && !defined(__CYGWIN__) && !defined(__GNU__)
#include <drm.h>
#else
typedef unsigned int drm_context_t;