void-packages/srcpkgs/dmraid/patches/25_musl-libc.patch

21 lines
569 B
Diff
Raw Normal View History

2015-06-02 05:46:43 +02:00
--- 1.0.0.rc16-3/dmraid/include/dmraid/misc.h.orig
+++ 1.0.0.rc16-3/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);
--- 1.0.0.rc16-3/dmraid/lib/device/scan.c.orig
+++ 1.0.0.rc16-3/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