commit:     abf2a4a77305e9c2a9f5500712edba89b8f95ed5
Author:     OBATA Akio <obache <AT> wizdas <DOT> com>
AuthorDate: Thu Feb  4 18:50:36 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Feb  4 18:50:36 2021 +0000
URL:        https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=abf2a4a7

glob is used in paxldso.c for NetBSD too, but glob.h is not included in
porting.h for NetBSD.

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 porting.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/porting.h b/porting.h
index 636e862..17bbbbc 100644
--- a/porting.h
+++ b/porting.h
@@ -61,7 +61,7 @@
 # include <machine/endian.h>
 #endif
 
-#if defined(__GLIBC__) || defined(__UCLIBC__)
+#if defined(__GLIBC__) || defined(__UCLIBC__) || defined(__NetBSD__)
 # include <glob.h>
 #endif
 

Reply via email to