Skip to content

Commit

Permalink
Fix #248 xlocale.h was removed in glibc 2.26.
Browse files Browse the repository at this point in the history
Reported by schnitzeltony on Andreas Müller.
Patch by Dave Plater.
  • Loading branch information
ddennedy committed Aug 27, 2017
1 parent 67a4a76 commit 2125e39
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/framework/mlt_property.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* \brief Property class declaration
* \see mlt_property_s
*
* Copyright (C) 2003-2014 Meltytech, LLC
* Copyright (C) 2003-2017 Meltytech, LLC
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -31,7 +31,11 @@
#endif

#if defined(__GLIBC__) || defined(__APPLE__) || (__FreeBSD_version >= 900506)
#include <xlocale.h>
# if GLIBC_MINOR >= 26 && !defined(APPLE)
# include <locale.h>
# else
# include <xlocale.h>
# endif
#else
typedef char* locale_t;
#endif
Expand Down

0 comments on commit 2125e39

Please sign in to comment.