summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-11-07 09:36:40 -0800
committerEric Anholt <eric@anholt.net>2006-11-07 09:36:40 -0800
commit584acab6d6103552711bd6b5596ee4ccad305bc2 (patch)
tree97a281be4fc38a8999f342bf5ff6c9c8f848e2bd
parent7b6cd95bb6c41653aed78952da0a461bd4791413 (diff)
Add drm_u64_t typedef on non-linux to fix libdrm build.
-rw-r--r--shared-core/drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 16e86267..9efb1dc4 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -139,6 +139,8 @@ typedef unsigned long long drm_u64_t;
typedef unsigned int drm_handle_t;
#else
+#include <sys/types.h>
+typedef u_int64_t drm_u64_t;
typedef unsigned long drm_handle_t; /**< To mapped regions */
#endif
typedef unsigned int drm_context_t; /**< GLXContext handle */