From f27794000ab710d9aab270bd30110332f04805e3 Mon Sep 17 00:00:00 2001 From: stal Date: Tue, 23 Sep 2014 20:47:21 -0700 Subject: 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. --- testing/test_avatars.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/test_avatars.c b/testing/test_avatars.c index 7d96bd52..6b7ee564 100644 --- a/testing/test_avatars.c +++ b/testing/test_avatars.c @@ -47,7 +47,11 @@ #include #include #include +#ifdef __linux__ #include +#else +#include +#endif #include #include #include -- cgit v1.2.3