summaryrefslogtreecommitdiff
path: root/databases/mysql4-client/patches/patch-ab
blob: 7d166ba04de45767dbbd785d0c167f5827301e4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.2 2007/05/23 08:11:49 martti Exp $

--- sql/mysqld.cc.orig	2006-11-03 04:15:29.000000000 +0200
+++ sql/mysqld.cc	2007-05-23 08:20:22.000000000 +0300
@@ -183,7 +183,7 @@
 int initgroups(const char *,unsigned int);
 #endif
 
-#if defined(__FreeBSD__) && defined(HAVE_IEEEFP_H)
+#if (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(HAVE_IEEEFP_H)
 #include <ieeefp.h>
 #ifdef HAVE_FP_EXCEPT				// Fix type conflict
 typedef fp_except fp_except_t;