$NetBSD: patch-ab,v 1.10 2003/05/22 16:46:50 jmmv Exp $ --- dyn_load.c.orig 2003-05-09 03:45:10.000000000 +0200 +++ dyn_load.c 2003-05-14 00:28:16.000000000 +0200 @@ -446,6 +446,16 @@ #if defined(NETBSD) # include +/* for compatibility with 1.4.x */ +# ifndef DT_DEBUG +# define DT_DEBUG 21 +# endif +# ifndef PT_LOAD +# define PT_LOAD 1 +# endif +# ifndef PF_W +# define PF_W 2 +# endif #else # include #endif