$NetBSD: patch-ab,v 1.9 2002/09/25 18:18:52 wiz Exp $ --- dyn_load.c.orig Mon Sep 9 14:54:12 2002 +++ dyn_load.c Mon Sep 9 14:54:53 2002 @@ -535,6 +535,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