diff --git a/srcpkgs/trinity/patches/stdint_h.patch b/srcpkgs/trinity/patches/stdint_h.patch new file mode 100644 index 00000000000..e3903954ae1 --- /dev/null +++ b/srcpkgs/trinity/patches/stdint_h.patch @@ -0,0 +1,18 @@ +--- syscalls/x86/modify_ldt.c ++++ syscalls/x86/modify_ldt.c +@@ -5,8 +5,15 @@ + * asmlinkage int sys_modify_ldt(int func, void __user *ptr, unsigned long bytecount) + */ + #include ++#include + #include + #define __ASSEMBLY__ 1 ++typedef int16_t __s16; ++typedef uint16_t __u16; ++typedef int32_t __s32; ++typedef uint32_t __u32; ++typedef int64_t __s64; ++typedef uint64_t __u64; + #include + #include "sanitise.h" + #include "shm.h"