All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] multipath-tools: add limits.h to kpartx/lopart.c
@ 2017-05-17 23:58 Xose Vazquez Perez
  2017-06-21 10:34 ` Christophe Varoqui
  0 siblings, 1 reply; 2+ messages in thread
From: Xose Vazquez Perez @ 2017-05-17 23:58 UTC (permalink / raw)
  Cc: device-mapper development, Xose Vazquez Perez, Martin Wilck

musl libc complains of
lopart.c:76:12: error: ‘PATH_MAX’ undeclared (first use in this function)

Cc: Martin Wilck <mwilck@suse.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 kpartx/lopart.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kpartx/lopart.c b/kpartx/lopart.c
index 7005445..4e6dab4 100644
--- a/kpartx/lopart.c
+++ b/kpartx/lopart.c
@@ -29,6 +29,7 @@
 #include <dirent.h>
 #include <sys/sysmacros.h>
 #include <linux/loop.h>
+#include <limits.h>
 
 #include "lopart.h"
 #include "xstrncpy.h"
-- 
2.13.0

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] multipath-tools: add limits.h to kpartx/lopart.c
  2017-05-17 23:58 [PATCH] multipath-tools: add limits.h to kpartx/lopart.c Xose Vazquez Perez
@ 2017-06-21 10:34 ` Christophe Varoqui
  0 siblings, 0 replies; 2+ messages in thread
From: Christophe Varoqui @ 2017-06-21 10:34 UTC (permalink / raw)
  To: Xose Vazquez Perez; +Cc: device-mapper development, Martin Wilck


[-- Attachment #1.1: Type: text/plain, Size: 839 bytes --]

Merged,
Thanks.

On Thu, May 18, 2017 at 1:58 AM, Xose Vazquez Perez <xose.vazquez@gmail.com>
wrote:

> musl libc complains of
> lopart.c:76:12: error: ‘PATH_MAX’ undeclared (first use in this function)
>
> Cc: Martin Wilck <mwilck@suse.com>
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: device-mapper development <dm-devel@redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
> ---
>  kpartx/lopart.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/kpartx/lopart.c b/kpartx/lopart.c
> index 7005445..4e6dab4 100644
> --- a/kpartx/lopart.c
> +++ b/kpartx/lopart.c
> @@ -29,6 +29,7 @@
>  #include <dirent.h>
>  #include <sys/sysmacros.h>
>  #include <linux/loop.h>
> +#include <limits.h>
>
>  #include "lopart.h"
>  #include "xstrncpy.h"
> --
> 2.13.0
>
>

[-- Attachment #1.2: Type: text/html, Size: 1504 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-21 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 23:58 [PATCH] multipath-tools: add limits.h to kpartx/lopart.c Xose Vazquez Perez
2017-06-21 10:34 ` Christophe Varoqui

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.