dmapi-2.2.12-headers.patch 354 B

1234567891011121314151617
  1. https://bugs.gentoo.org/560212
  2. pull in headers for funcs that are used
  3. --- a/libdm/dm_handle2path.c
  4. +++ b/libdm/dm_handle2path.c
  5. @@ -20,6 +20,9 @@
  6. #include <dmapi_kern.h>
  7. #include "dmapi_lib.h"
  8. +#include <fcntl.h> /* open */
  9. +#include <unistd.h> /* close */
  10. +#include <string.h> /* strlen */
  11. #include <mntent.h>
  12. #include <dirent.h>
  13. #ifdef linux