[lttng-dev] [PATCH babeltrace] Fix: PATH_MAX requires limits.h on some platforms

Michael Jeanson mjeanson at efficios.com
Tue May 3 16:51:51 UTC 2016


Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
 tests/lib/common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/lib/common.c b/tests/lib/common.c
index d137cb3..0b8ebdf 100644
--- a/tests/lib/common.c
+++ b/tests/lib/common.c
@@ -22,6 +22,7 @@
 #include <babeltrace/context.h>
 #include <babeltrace/iterator.h>
 #include <babeltrace/compat/dirent.h>
+#include <babeltrace/compat/limits.h>
 #include <sys/stat.h>
 
 struct bt_context *create_context_with_path(const char *path)
-- 
2.7.4



More information about the lttng-dev mailing list