blob: 3b29be038b0daeaa09e610788c95e325c9de3b65 [file] [log] [blame]
Andrew Geisslerd1d22e62020-10-16 10:14:32 -05001Index: ecryptfs-utils-111/src/utils/mount.ecryptfs_private.c
2===================================================================
3--- ecryptfs-utils-111.orig/src/utils/mount.ecryptfs_private.c
4+++ ecryptfs-utils-111/src/utils/mount.ecryptfs_private.c
5@@ -45,6 +45,10 @@
6 #include <values.h>
7 #include "../include/ecryptfs.h"
8
9+#ifndef __SWORD_TYPE
10+typedef __typeof__( ((struct statfs *)0)->f_type ) __SWORD_TYPE;
11+#endif
12+
13 /* Perhaps a future version of this program will allow these to be configurable
14 * by the system administrator (or user?) at run time. For now, these are set
15 * to reasonable values to reduce the burden of input validation.