Add drm_u64_t typedef on non-linux to fix libdrm build.

main
Eric Anholt 2006-11-07 09:36:40 -08:00
parent 7b6cd95bb6
commit 584acab6d6
1 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,8 @@ typedef unsigned long long drm_u64_t;
typedef unsigned int drm_handle_t; typedef unsigned int drm_handle_t;
#else #else
#include <sys/types.h>
typedef u_int64_t drm_u64_t;
typedef unsigned long drm_handle_t; /**< To mapped regions */ typedef unsigned long drm_handle_t; /**< To mapped regions */
#endif #endif
typedef unsigned int drm_context_t; /**< GLXContext handle */ typedef unsigned int drm_context_t; /**< GLXContext handle */