summaryrefslogtreecommitdiff
path: root/www/libxul/files/patch-media-mtransport-third_party-nICEr-src-util-mbslen.c
blob: 69658e277b416d6d6810d0fbc29f8b0509002cfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- media/mtransport/third_party/nICEr/src/util/mbslen.c~
+++ media/mtransport/third_party/nICEr/src/util/mbslen.c
@@ -54,6 +54,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 # 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 */