mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
32671b36a1
Backport three patches, add one for GCC14, and add Alpine time_t patch for musl. Signed-off-by: Rosen Penev <rosenp@gmail.com>
31 lines
652 B
Diff
31 lines
652 B
Diff
--- a/Monitor.c
|
|
+++ b/Monitor.c
|
|
@@ -27,6 +27,7 @@
|
|
#include "md_p.h"
|
|
#include "md_u.h"
|
|
#include <sys/wait.h>
|
|
+#include <libgen.h>
|
|
#include <limits.h>
|
|
#include <syslog.h>
|
|
|
|
--- a/platform-intel.c
|
|
+++ b/platform-intel.c
|
|
@@ -28,6 +28,7 @@
|
|
#include <sys/mman.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
+#include <libgen.h>
|
|
#include <limits.h>
|
|
|
|
#define NVME_SUBSYS_PATH "/sys/devices/virtual/nvme-subsystem/"
|
|
--- a/super-intel.c
|
|
+++ b/super-intel.c
|
|
@@ -27,6 +27,7 @@
|
|
#include <scsi/sg.h>
|
|
#include <ctype.h>
|
|
#include <dirent.h>
|
|
+#include <libgen.h>
|
|
|
|
/* MPB == Metadata Parameter Block */
|
|
#define MPB_SIGNATURE "Intel Raid ISM Cfg Sig. "
|