ckiss

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 0bea474c49ff0f84ca74c5636fb604522b4b9f0b
parent c21434646965c73b3e6a461a40fb496a0c29abcd
Author: aabacchus <ben@bvnf.space>
Date:   Sun, 23 Apr 2023 15:22:33 +0100

list: add workaround to build with cproc

https://todo.sr.ht/~mcf/cproc/79

Diffstat:
Msrc/list.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/list.c b/src/list.c @@ -29,7 +29,8 @@ pkg_print(char *pkg, struct env *e) { /* exclude .* from package listing */ static int sel(const struct dirent *d) { - return d->d_name[0] != '.'; + struct dirent *e = (struct dirent *)d; + return e->d_name[0] != '.'; } int