summaryrefslogtreecommitdiff
blob: 9b10c811ef0702d0a47f4e38ac2aad0712f5b7b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
make sure we get the wcwidth() prototype

--- src/file.c
+++ src/file.c
@@ -29,6 +29,8 @@
  * file - find type of a file or files - main program.
  */
 
+#define _XOPEN_SOURCE
+
 #include "file.h"
 #include "magic.h"