diff options
Diffstat (limited to 'source/ap/dmapi/bug799162.patch')
-rw-r--r-- | source/ap/dmapi/bug799162.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source/ap/dmapi/bug799162.patch b/source/ap/dmapi/bug799162.patch new file mode 100644 index 00000000..1632b2bc --- /dev/null +++ b/source/ap/dmapi/bug799162.patch @@ -0,0 +1,20 @@ +Description: Fix compilation by adding missing #include(s) +Author: Mathieu Malaterre <mathieu@debian> +Bug-Debian: https://bugs.debian.org/799162 +Forwarded: no + +--- dmapi-2.2.10.orig/libdm/dm_handle2path.c ++++ dmapi-2.2.10/libdm/dm_handle2path.c +@@ -22,7 +22,12 @@ + + #include <mntent.h> + #include <dirent.h> ++#include <string.h> + #ifdef linux ++#include <sys/types.h> ++#include <sys/stat.h> ++#include <fcntl.h> ++#include <unistd.h> + #include "getdents.h" + #endif + |