trinify: fix build
This commit is contained in:
parent
4e42582b56
commit
4279187af3
|
@ -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 <stdlib.h>
|
||||
+#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#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 <asm/ldt.h>
|
||||
#include "sanitise.h"
|
||||
#include "shm.h"
|
Loading…
Reference in New Issue