OSDN Git Service

Add drm_u64_t typedef on non-linux to fix libdrm build.
authorEric Anholt <eric@anholt.net>
Tue, 7 Nov 2006 17:36:40 +0000 (09:36 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 7 Nov 2006 17:36:40 +0000 (09:36 -0800)
shared-core/drm.h

index 16e8626..9efb1dc 100644 (file)
@@ -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 */