summaryrefslogtreecommitdiffstats
path: root/source/ap/dmapi/bug799162.patch
blob: 1632b2bc5e48d385664ab9b022d34fa7ffb2a0dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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