mirror of
git://slackware.nl/current.git
synced 2024-12-27 09:59:16 +01:00
21 lines
464 B
Diff
21 lines
464 B
Diff
|
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
|
||
|
|