From: Martin Mares Date: Mon, 27 May 2024 12:21:29 +0000 (+0200) Subject: sysfs: Include for basename() X-Git-Tag: v3.13.0~14 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=89cb2ae87236604b0e8ededd0fd7d9425c2d8cb6;p=pciutils.git sysfs: Include for basename() Otherwise, it fails to build with musl libc. --- diff --git a/lib/sysfs.c b/lib/sysfs.c index 0e763dc..439c4cb 100644 --- a/lib/sysfs.c +++ b/lib/sysfs.c @@ -2,7 +2,7 @@ * The PCI Library -- Configuration Access via /sys/bus/pci * * Copyright (c) 2003 Matthew Wilcox - * Copyright (c) 1997--2023 Martin Mares + * Copyright (c) 1997--2024 Martin Mares * * Can be freely distributed and used under the terms of the GNU GPL v2+. * @@ -19,6 +19,7 @@ #include #include #include +#include #include #include "internal.h"