unix_capture.c: Include <limits.h> for PATH_MAX
authorEric Biggers <ebiggers3@gmail.com>
Tue, 14 May 2013 01:43:35 +0000 (20:43 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 14 May 2013 01:43:35 +0000 (20:43 -0500)
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,