Module Name:    xsrc
Committed By:   christos
Date:           Sun Dec  2 00:42:04 UTC 2018

Modified Files:
        xsrc/external/mit/libdrm/dist/include/drm: drm.h

Log Message:
protect from redefinition


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 xsrc/external/mit/libdrm/dist/include/drm/drm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libdrm/dist/include/drm/drm.h
diff -u xsrc/external/mit/libdrm/dist/include/drm/drm.h:1.9 xsrc/external/mit/libdrm/dist/include/drm/drm.h:1.10
--- xsrc/external/mit/libdrm/dist/include/drm/drm.h:1.9	Wed Mar 14 03:19:26 2018
+++ xsrc/external/mit/libdrm/dist/include/drm/drm.h	Sat Dec  1 19:42:04 2018
@@ -46,6 +46,8 @@ typedef unsigned int drm_handle_t;
 
 #include <sys/ioccom.h>
 #include <sys/types.h>
+#ifndef __linux_sized_types__
+#define __linux_sized_types__
 typedef int8_t   __s8;
 typedef uint8_t  __u8;
 typedef int16_t  __s16;
@@ -54,6 +56,7 @@ typedef int32_t  __s32;
 typedef uint32_t __u32;
 typedef int64_t  __s64;
 typedef uint64_t __u64;
+#endif /* __linux_sized_types__ */
 typedef size_t   __kernel_size_t;
 typedef unsigned long drm_handle_t;
 

Reply via email to