head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.04.14.10.58.10; author kikadf; state Exp; branches; next ; commitid m8Hsp2LhwToCRUBG; desc @@ 1.1 log @ basu: new package The sd-bus library, extracted from systemd. Some projects rely on the sd-bus library for DBus support. However not all systems have systemd or elogind installed. This library provides just sd-bus (and the busctl utility). @ text @$NetBSD$ * NetBSD hasn't ferror_unlocked() --- src/basic/fileio.h.orig 2022-12-16 11:13:02.000000000 +0100 +++ src/basic/fileio.h @@@@ -3,6 +3,9 @@@@ #include #include +#ifdef __NetBSD__ +#define ferror_unlocked(fp) ferror(fp) +#endif int read_one_line_file(const char *fn, char **line); int read_full_file(const char *fn, char **contents, size_t *size); @