$NetBSD$

--- rootx/src/rootx.cxx.orig	2010-02-11 13:20:47.000000000 +0000
+++ rootx/src/rootx.cxx
@@ -48,7 +48,7 @@
 
 #if (defined(__alpha) && !defined(__linux)) || defined(_AIX) || \
     defined(__FreeBSD__) || defined(__Lynx__) || defined(__OpenBSD__) || \
-    (defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_5))
+    (defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_5)) || defined(__NetBSD__)
 #define UTMP_NO_ADDR
 #endif
 
