Small fixes (#6398)

* debug_native: include linux_coredump.h for linux-arm

* run: login_tty needs utmp.h on linux
This commit is contained in:
Sebastian Reichel 2016-12-29 20:30:05 +01:00 committed by radare
parent cd1eec023d
commit 2f9447550e
2 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,7 @@ static void r_debug_native_stop(RDebug *dbg);
# define WIFCONTINUED(s) ((s) == 0xffff)
# endif
# endif
#if (__x86_64__ || __i386__) && !defined(__ANDROID__)
#if (__x86_64__ || __i386__ || __arm__ || __arm64__) && !defined(__ANDROID__)
#include "native/linux/linux_coredump.h"
#endif
#else // OS

View File

@ -40,6 +40,7 @@
#if __linux__ && !__ANDROID__
#include <sys/personality.h>
#include <pty.h>
#include <utmp.h>
#endif
#if defined(__APPLE__) || defined(__NetBSD__) || defined(__OpenBSD__)
#include <util.h>