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

Jérémie Galarneau jeremie.galarneau at efficios.com
Tue May 3 16:58:48 UTC 2016


Merged with a title edit to mention OS X and Solaris, thanks!

Jérémie

On Tue, May 3, 2016 at 12:51 PM, Michael Jeanson <mjeanson at efficios.com> wrote:
> 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
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list