$NetBSD: patch-an,v 1.2 2008/01/06 19:54:46 rillig Exp $ --- gdb/config/i386/nm-nbsd.h.orig 2004-02-22 16:20:22.000000000 +0000 +++ gdb/config/i386/nm-nbsd.h 2008-01-06 20:43:25.000000000 +0000 @@ -23,7 +23,16 @@ #ifndef NM_NBSD_H #define NM_NBSD_H +#include + /* Get generic NetBSD native definitions. */ #include "config/nm-nbsd.h" +#include +#if __NetBSD_Version__ >= 499000900 +#include +#endif +#include +#define KERNEL_U_ADDR USRSTACK + #endif /* nm-nbsd.h */