smlinux/base/dmraid/006-musl-libc.patch
PktSurf 887b96a3e3 Added dmraid, iniparser, mozjs, libatasmart, libblockdev, libbytesize,
libyaml, ndctl, polkit, udisks to base and updated base build list
Fixed base/gcc-libs build file
Removed old incomplete base/rust build file
2022-02-28 09:37:31 +05:30

20 lines
516 B
Diff

---dmraid/include/dmraid/misc.h.orig
+++ dmraid/include/dmraid/misc.h
@@ -10,6 +10,7 @@
#ifndef _MISC_H_
#define _MISC_H_
+#include <fcntl.h>
#define DM_ASSERT(__cond) do { if (!(__cond)) { printf("ASSERT file:%s line:%d fuction:%s cond: %s\n", __FILE__, __LINE__, __FUNCTION__, #__cond); } } while(0);
--- dmraid/lib/device/scan.c.orig
+++ dmraid/lib/device/scan.c
@@ -10,6 +10,7 @@
# include <dirent.h>
# include <paths.h>
#else
+# include <paths.h>
# include <dirent.h>
# include <mntent.h>
#endif