You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/dmapi/files/dmapi-2.2.12-headers.patch

17 lines
354 B

https://bugs.gentoo.org/560212
pull in headers for funcs that are used
--- a/libdm/dm_handle2path.c
+++ b/libdm/dm_handle2path.c
@@ -20,6 +20,9 @@
#include <dmapi_kern.h>
#include "dmapi_lib.h"
+#include <fcntl.h> /* open */
+#include <unistd.h> /* close */
+#include <string.h> /* strlen */
#include <mntent.h>
#include <dirent.h>
#ifdef linux