1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/ecryptfs-utils/fix-headers.patch
2014-12-16 14:03:35 +00:00

28 lines
674 B
Diff

--- a/src/utils/mount.ecryptfs.c.orig
+++ b/src/utils/mount.ecryptfs.c
@@ -24,7 +24,6 @@
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
-#include <keyutils.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -34,6 +33,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <keyutils.h>
#include "ecryptfs.h"
#include "decision_graph.h"
#include "io.h"
--- a/src/utils/mount.ecryptfs_private.c.orig
+++ b/src/utils/mount.ecryptfs_private.c
@@ -30,6 +30,7 @@
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/types.h>
+#include <fcntl.h>
#include <ctype.h>
#include <errno.h>
#include <keyutils.h>