$NetBSD: patch-src_moongate.cpp,v 1.1 2012/12/24 06:28:16 dholland Exp $ Provide NULL if it's missing. Apparently Required on Dragonfly. --- src/moongate.cpp~ 2004-06-01 15:07:45.000000000 +0000 +++ src/moongate.cpp @@ -11,6 +11,10 @@ #include "moongate.h" #include "types.h" +#ifndef NULL +#define NULL 0 +#endif + typedef std::map MoongateList; /* map moon phase to map coordinates */ MoongateList gates;