0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 08:09:51 +00:00
packages/utils/pciutils/patches/110-gcc14.patch
Rosen Penev aefb276884 pciutils: fix compilation with GCC14
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-05-29 18:48:39 -07:00

11 lines
167 B
Diff

--- a/lib/sysfs.c
+++ b/lib/sysfs.c
@@ -20,6 +20,7 @@
#include <dirent.h>
#include <fcntl.h>
#include <sys/types.h>
+#include <libgen.h>
#include "internal.h"