summaryrefslogtreecommitdiff
path: root/misc/kdeedu4/patches/patch-an
blob: f4555613df05c74513436d37882ad602fb6f3f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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"