OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b6cd95
)
Add drm_u64_t typedef on non-linux to fix libdrm build.
author
Eric Anholt
<eric@anholt.net>
Tue, 7 Nov 2006 17:36:40 +0000
(09:36 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 7 Nov 2006 17:36:40 +0000
(09:36 -0800)
shared-core/drm.h
patch
|
blob
|
history
diff --git
a/shared-core/drm.h
b/shared-core/drm.h
index
16e8626
..
9efb1dc
100644
(file)
--- 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 */