diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-02-24 15:21:08 +0100 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-02-24 15:39:24 +0100 |
commit | 423fbe9fcd7ed0d5553b99e0a903f91912bac053 (patch) | |
tree | d9218add94e6dc1c7cba40e8081e57a896a3f7b7 | |
parent | 0c1f5b00e7907aefee13f86a234558f00cd6c7ef (diff) |
tests: Fix build on Hurd
As PATH_MAX is not defined on Hurd, let's check for it and define
whenever it is necessary.
https://bugs.freedesktop.org/show_bug.cgi?id=74313
-rw-r--r-- | server/tests/test_display_base.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c index 1c909fbf..60cb3b2e 100644 --- a/server/tests/test_display_base.c +++ b/server/tests/test_display_base.c @@ -17,6 +17,10 @@ #include "red_channel.h" #include "test_util.h" +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + #define MEM_SLOT_GROUP_ID 0 #define NOTIFY_DISPLAY_BATCH (SINGLE_PART/2) |