Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/libdrm/dist/include/drm protect from redefini...



details:   https://anonhg.NetBSD.org/xsrc/rev/8c6b2cb03103
branches:  trunk
changeset: 9999:8c6b2cb03103
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 02 00:42:04 2018 +0000

description:
protect from redefinition

diffstat:

 external/mit/libdrm/dist/include/drm/drm.h |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r 5fd2ebd6763f -r 8c6b2cb03103 external/mit/libdrm/dist/include/drm/drm.h
--- a/external/mit/libdrm/dist/include/drm/drm.h        Fri Oct 26 11:17:33 2018 +0000
+++ b/external/mit/libdrm/dist/include/drm/drm.h        Sun Dec 02 00:42:04 2018 +0000
@@ -46,6 +46,8 @@
 
 #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 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;
 



Home | Main Index | Thread Index | Old Index