Skip to contentSkip to conversation

Missing headers for non GLIBC systems

PATCH Applied Francisco Ramos 2 participants 2 messages Oct 20, 2019 – Oct 21, 2019 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Missing headers for non GLIBC systems

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

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

---
 mesh/keyring.c          | 1 +
 mesh/mesh-config-json.c | 1 +
 mesh/node.c             | 1 +
 mesh/util.c             | 1 +
 4 files changed, 4 insertions(+)
mesh/keyring.c +1 -0
index 3a7f92f..9fa7d6b 100644
@@ -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>
mesh/mesh-config-json.c +1 -0
index cafa2fd..74ca495 100644
@@ -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>
mesh/node.c +1 -0
index b6824f5..15dcb97 100644
@@ -23,6 +23,7 @@
 
 #define _GNU_SOURCE
 #include <dirent.h>
+#include <limits.h>
 #include <stdio.h>
 #include <sys/time.h>
 
mesh/util.c +1 -0
index 1455bde..986ba4b 100644
@@ -25,6 +25,7 @@
 #include <dirent.h>
 #include <ftw.h>
 #include <stdio.h>
+#include <limits.h>
 #include <time.h>
 #include <sys/time.h>
 
Signature · 1 line
2.23.0
Applied
#1 lore raw
Quoted 3 lines · Francisco Ramos

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