archrelease: copy trunk to extra-x86_64
[arch-packages.git] / dmapi / trunk / dmapi-headers.patch
blob259e1aec3a09e9b414c0f5f202cd36b7b225bd49
1 https://bugs.gentoo.org/560212
3 pull in headers for funcs that are used
5 --- a/libdm/dm_handle2path.c
6 +++ b/libdm/dm_handle2path.c
7 @@ -20,6 +20,9 @@
8 #include <dmapi_kern.h>
9 #include "dmapi_lib.h"
11 +#include <fcntl.h> /* open */
12 +#include <unistd.h> /* close */
13 +#include <string.h> /* strlen */
14 #include <mntent.h>
15 #include <dirent.h>
16 #ifdef linux