$NetBSD: patch-an,v 1.1.1.1 2009/10/02 20:51:26 markd Exp $

--- step/stepcore/world.h.orig	2009-06-10 04:08:28.000000000 +1200
+++ step/stepcore/world.h
@@ -23,6 +23,10 @@
 #ifndef STEPCORE_WORLD_H
 #define STEPCORE_WORLD_H
 
+#ifdef __NetBSD__
+#define fmin(a,b) ((a) < (b) ? (a) : (b))
+#endif
+
 #include "types.h"
 #include "util.h"
 #include "object.h"
