Skip to content

Commit

Permalink
fix compilation on ubuntu artful (glic 2.26)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpinon authored and ddennedy committed Nov 18, 2017
1 parent 73bfefd commit 2a2ff9e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/framework/mlt_property.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@
#include <sys/param.h>
#endif

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

0 comments on commit 2a2ff9e

Please sign in to comment.