Skip to content

Commit

Permalink
rpmatch, fts: fix includes under glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Sep 29, 2024
1 parent 21eafea commit 76eb213
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src.freebsd/include/fts.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ int fts_set(FTS *, FTSENT *, int);
void fts_set_clientptr(FTS *, void *);
__END_DECLS

#else
# include_next <fts.h>
#endif

#endif /* !_FTS_H_ */
2 changes: 2 additions & 0 deletions src.freebsd/include/rpmatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

extern int rpmatch(const char *response);

#else
# include <stdlib.h>
#endif

#endif

0 comments on commit 76eb213

Please sign in to comment.