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