ifdef out use of linux/limts.h in test_avatars

This fixes building on OS X and other systems whose limits.hs have PATH_MAX.
This commit is contained in:
stal 2014-09-23 20:47:21 -07:00
parent 744f51ec36
commit f27794000a

View File

@ -47,7 +47,11 @@
#include <unistd.h>
#include <time.h>
#include <stdbool.h>
#ifdef __linux__
#include <linux/limits.h>
#else
#include <limits.h>
#endif
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>