From 76eb213adbdbdc827f4e435eb78e586a10bb7a9b Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 29 Sep 2024 16:31:47 +0200 Subject: [PATCH] rpmatch, fts: fix includes under glibc --- src.freebsd/include/fts.h | 2 ++ src.freebsd/include/rpmatch.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src.freebsd/include/fts.h b/src.freebsd/include/fts.h index b04d012..ee603e4 100644 --- a/src.freebsd/include/fts.h +++ b/src.freebsd/include/fts.h @@ -146,6 +146,8 @@ int fts_set(FTS *, FTSENT *, int); void fts_set_clientptr(FTS *, void *); __END_DECLS +#else +# include_next #endif #endif /* !_FTS_H_ */ diff --git a/src.freebsd/include/rpmatch.h b/src.freebsd/include/rpmatch.h index 4033100..a1f3f5c 100644 --- a/src.freebsd/include/rpmatch.h +++ b/src.freebsd/include/rpmatch.h @@ -9,6 +9,8 @@ extern int rpmatch(const char *response); +#else +# include #endif #endif