All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Missing headers for non GLIBC systems
@ 2019-10-20  8:46 Francisco Ramos
  2019-10-21 17:26 ` Gix, Brian
  0 siblings, 1 reply; 2+ messages in thread
From: Francisco Ramos @ 2019-10-20  8:46 UTC (permalink / raw)
  To: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

As can be seen in downstream bug, we need to apply 0001-Include-limits.h-for-
PATH_MAX.patch to fix building in non-glibc systems
https://bugs.gentoo.org/695940

Thanks

[-- Attachment #2: 0001-Include-limits.h-for-PATH_MAX.patch --]
[-- Type: text/x-patch, Size: 1490 bytes --]

From 20128c5c95fbae93c9fd996d5ad2584cf6ad8032 Mon Sep 17 00:00:00 2001
From: Jory Pratt <anarchy@gentoo.org>
Date: Mon, 30 Sep 2019 18:35:56 -0500
Subject: [PATCH] Include limits.h for PATH_MAX

Signed-off-by: Jory Pratt <anarchy@gentoo.org>
---
 mesh/keyring.c          | 1 +
 mesh/mesh-config-json.c | 1 +
 mesh/node.c             | 1 +
 mesh/util.c             | 1 +
 4 files changed, 4 insertions(+)

diff --git a/mesh/keyring.c b/mesh/keyring.c
index 3a7f92f..9fa7d6b 100644
--- a/mesh/keyring.c
+++ b/mesh/keyring.c
@@ -24,6 +24,7 @@
 #define _GNU_SOURCE
 #include <fcntl.h>
 #include <dirent.h>
+#include <limits.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <dirent.h>
diff --git a/mesh/mesh-config-json.c b/mesh/mesh-config-json.c
index cafa2fd..74ca495 100644
--- a/mesh/mesh-config-json.c
+++ b/mesh/mesh-config-json.c
@@ -27,6 +27,7 @@
 #include <fcntl.h>
 #include <ftw.h>
 #include <libgen.h>
+#include <limits.h>
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
diff --git a/mesh/node.c b/mesh/node.c
index b6824f5..15dcb97 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -23,6 +23,7 @@
 
 #define _GNU_SOURCE
 #include <dirent.h>
+#include <limits.h>
 #include <stdio.h>
 #include <sys/time.h>
 
diff --git a/mesh/util.c b/mesh/util.c
index 1455bde..986ba4b 100644
--- a/mesh/util.c
+++ b/mesh/util.c
@@ -25,6 +25,7 @@
 #include <dirent.h>
 #include <ftw.h>
 #include <stdio.h>
+#include <limits.h>
 #include <time.h>
 #include <sys/time.h>
 
-- 
2.23.0


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

* Re: [PATCH] Missing headers for non GLIBC systems
  2019-10-20  8:46 [PATCH] Missing headers for non GLIBC systems Francisco Ramos
@ 2019-10-21 17:26 ` Gix, Brian
  0 siblings, 0 replies; 2+ messages in thread
From: Gix, Brian @ 2019-10-21 17:26 UTC (permalink / raw)
  To: pachoramos, linux-bluetooth

On Sun, 2019-10-20 at 10:46 +0200, Francisco Ramos wrote:
> As can be seen in downstream bug, we need to apply 0001-Include-limits.h-for-
> PATH_MAX.patch to fix building in non-glibc systems
> https://bugs.gentoo.org/695940

Applied, Thanks

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

end of thread, other threads:[~2019-10-21 17:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-20  8:46 [PATCH] Missing headers for non GLIBC systems Francisco Ramos
2019-10-21 17:26 ` Gix, Brian

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.