summaryrefslogtreecommitdiff
path: root/source/x/libdrm/libdrm.uint32_t.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/libdrm/libdrm.uint32_t.diff')
-rw-r--r--source/x/libdrm/libdrm.uint32_t.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/x/libdrm/libdrm.uint32_t.diff b/source/x/libdrm/libdrm.uint32_t.diff
new file mode 100644
index 00000000..571d72ac
--- /dev/null
+++ b/source/x/libdrm/libdrm.uint32_t.diff
@@ -0,0 +1,11 @@
+--- ./include/drm/drm_mode.h.orig 2010-01-21 12:45:40.000000000 -0600
++++ ./include/drm/drm_mode.h 2010-02-22 13:16:36.000000000 -0600
+@@ -307,6 +307,8 @@
+ #define DRM_MODE_PAGE_FLIP_EVENT 0x01
+ #define DRM_MODE_PAGE_FLIP_FLAGS DRM_MODE_PAGE_FLIP_EVENT
+
++#include <stdint.h> /* needed for uint32_t and uint64_t typedefs */
++
+ struct drm_mode_crtc_page_flip {
+ uint32_t crtc_id;
+ uint32_t fb_id;