Make <sys/user.h> include in bsd-kvm.c conditional on HAVE_SYS_USER_H.
NetBSD has recently removed <sys/user.h>. gdb/ChangeLog: * bsd-kvm.c: Make <sys/user.h> conditional on HAVE_SYS_USER_H.
This commit is contained in:
parent
c49fbc6c79
commit
f7efc967ba
@ -1,3 +1,7 @@
|
||||
2017-09-04 John Baldwin <jhb@FreeBSD.org>
|
||||
|
||||
* bsd-kvm.o: Make <sys/user.h> conditional on HAVE_SYS_USER_H.
|
||||
|
||||
2017-09-04 John Baldwin <jhb@FreeBSD.org>
|
||||
|
||||
* bsd-kvm.o: Define _KMEMUSER.
|
||||
|
@ -37,7 +37,9 @@
|
||||
#include "readline/readline.h"
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
#ifdef HAVE_SYS_USER_H
|
||||
#include <sys/user.h>
|
||||
#endif
|
||||
|
||||
#include "bsd-kvm.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user