aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filters/wrap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/filters/wrap.c b/filters/wrap.c
index 4ae7c72d..d0d3cfc3 100644
--- a/filters/wrap.c
+++ b/filters/wrap.c
@@ -15,6 +15,10 @@
#include <wchar.h>
#include <wctype.h>
+#ifdef __APPLE__
+#include <xlocale.h>
+#endif
+
static void usage(void)
{
puts("usage: wrap [-h] [-w INT] [-r] [-l INT] [-f FILE]");