summaryrefslogtreecommitdiff
path: root/databases/mysql4-server/patches/patch-ad
blob: c558b53ecb64f44d834c39fe4e4d6f15b1aaab9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.1 2005/10/26 17:33:49 joerg Exp $

--- sql/mysqld.cc.orig	2005-10-14 10:21:12.000000000 +0000
+++ sql/mysqld.cc
@@ -182,7 +182,7 @@ static void getvolumeID(BYTE *volumeName
 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;