Supply missing header guards

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190604181618.19980-5-armbru@redhat.com>
This commit is contained in:
Markus Armbruster 2019-06-04 20:16:18 +02:00
parent 37677d7db3
commit f91005e195
84 changed files with 419 additions and 7 deletions

View file

@ -1,6 +1,10 @@
/*
* Linux o32 style syscalls are in the range from 4000 to 4999.
*/
#ifndef LINUX_USER_MIPS_SYSCALL_NR_H
#define LINUX_USER_MIPS_SYSCALL_NR_H
#define TARGET_NR_Linux 4000
#define TARGET_NR_syscall (TARGET_NR_Linux + 0)
#define TARGET_NR_exit (TARGET_NR_Linux + 1)
@ -372,3 +376,5 @@
#define TARGET_NR_statx (TARGET_NR_Linux + 366)
#define TARGET_NR_rseq (TARGET_NR_Linux + 367)
#define TARGET_NR_io_pgetevents (TARGET_NR_Linux + 368)
#endif

View file

@ -1,5 +1,8 @@
/* from asm/termbits.h */
#ifndef LINUX_USER_MIPS_TERMBITS_H
#define LINUX_USER_MIPS_TERMBITS_H
#define TARGET_NCCS 23
struct target_termios {
@ -256,3 +259,5 @@ struct target_termios {
#define TARGET_TIOCGICOUNT 0x5492 /* read serial port inline interrupt counts */
#define TARGET_TIOCGHAYESESP 0x5493 /* Get Hayes ESP configuration */
#define TARGET_TIOCSHAYESESP 0x5494 /* Set Hayes ESP configuration */
#endif