Files
2013-09-26 17:14:40 +02:00

24 lines
442 B
Plaintext

$NetBSD: patch-ar,v 1.2 2009/01/08 01:08:37 jmcneill Exp $
--- libunicapgtk/unicapgtk_device_property.c.orig 2008-08-06 12:37:54.000000000 -0400
+++ libunicapgtk/unicapgtk_device_property.c
@@ -49,7 +49,17 @@
#endif
#include "debug.h"
+#ifdef __NetBSD__
+double
+fmin(double a, double b)
+{
+ if (b < a)
+ return b;
+ return a;
+}
+#else
double fmin(double,double);
+#endif
enum {
UNICAPGTK_DEVICE_PROPERTY_CHANGED_SIGNAL,