hurd: Fix getting VM_MIN/MAX_ADDRESS
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 21 Dec 2020 16:01:07 +0000 (16:01 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 23 Dec 2020 16:56:36 +0000 (16:56 +0000)
gnu-nat.c was getting the inclusion of vm_param.h only by luck. We need
to explicitly include it to be sure to get the definitions of
VM_MIN/MAX_ADDRESS.

gdb/ChangeLog:

* gnu-nat.c: Include <mach/vm_param.h>.

gdb/gnu-nat.c

index 1693ce0c43db0fe9b2af7398c02230d8dbec96ff..6f290be0d510ec7f23fb9a77c35e1761848b6d69 100644 (file)
@@ -32,6 +32,7 @@ extern "C"
 #include <mach/message.h>
 #include <mach/notify.h>
 #include <mach/vm_attributes.h>
+#include <mach/vm_param.h>
 
 #include <hurd.h>
 #include <hurd/interrupt.h>