summaryrefslogtreecommitdiff
path: root/www/firefox31/patches/patch-media_mtransport_third__party_nICEr_src_util_mbslen.c
blob: 3f634466462c1a2cce7c82a7ef370d884c0704d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-media_mtransport_third__party_nICEr_src_util_mbslen.c,v 1.1 2014/11/03 12:18:32 ryoon Exp $

--- media/mtransport/third_party/nICEr/src/util/mbslen.c.orig	2014-04-18 02:03:49.000000000 +0000
+++ media/mtransport/third_party/nICEr/src/util/mbslen.c
@@ -54,6 +54,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # endif
 #endif
 
+#ifdef __DragonFly__
+#include <osreldate.h>
+# if __DragonFly_version > 300502
+#  define HAVE_XLOCALE
+# endif
+#endif
+
 #ifdef HAVE_XLOCALE
 #include <xlocale.h>
 #endif /* HAVE_XLOCALE */