unix_capture.c: Include <limits.h> for PATH_MAX
[wimlib] / src / unix_capture.c
index 74f83d2b59a9dba6c13e1d5c794f70c6a33dc907..963e53dabfb388c1e33dc1a0383348ea972e8ab7 100644 (file)
@@ -30,8 +30,9 @@
 
 #include <dirent.h>
 #include <errno.h>
 
 #include <dirent.h>
 #include <errno.h>
-#include <unistd.h>
+#include <limits.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
+#include <unistd.h>
 
 static int
 unix_capture_regular_file(const char *path,
 
 static int
 unix_capture_regular_file(const char *path,