Skip to content

Commit

Permalink
Include xlocale.h for LC_NUMERIC_MASK on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Feb 19, 2016
1 parent 80d288b commit f64ea62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cppformat/posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@

#include <cstddef>

#ifdef __APPLE__
# include <xlocale.h> // for LC_NUMERIC_MASK on OS X
#endif

#include "format.h"

#ifndef FMT_POSIX
Expand Down

0 comments on commit f64ea62

Please sign in to comment.