summaryrefslogtreecommitdiff
authorTellen Yu <tellen.yu@amlogic.com>2016-10-09 10:32:50 (GMT)
committer Tellen Yu <tellen.yu@amlogic.com>2016-10-09 10:32:50 (GMT)
commitd1ef10b4ff572991b3a5eb771ef1ebe7c4deddb1 (patch)
tree83e71bff32572e5ad35e73464083a22f8dec3c26
parent357ebe0a8a1ba259c7a1f354fe387f9a9ee594f0 (diff)
downloadntfs-3g-d1ef10b4ff572991b3a5eb771ef1ebe7c4deddb1.zip
ntfs-3g-d1ef10b4ff572991b3a5eb771ef1ebe7c4deddb1.tar.gz
ntfs-3g-d1ef10b4ff572991b3a5eb771ef1ebe7c4deddb1.tar.bz2
64bit compatibility
Change-Id: I9b77c6f2b4f73a02762224ae58c83918e0b81931
Diffstat
-rw-r--r--[-rwxr-xr-x]libntfs-3g/attrib.c1
-rw-r--r--[-rwxr-xr-x]libntfs-3g/bootsect.c1
-rw-r--r--[-rwxr-xr-x]libntfs-3g/dir.c1
-rw-r--r--[-rwxr-xr-x]libntfs-3g/logfile.c1
-rw-r--r--[-rwxr-xr-x]libntfs-3g/mft.c1
-rw-r--r--[-rwxr-xr-x]libntfs-3g/volume.c3
-rw-r--r--[-rwxr-xr-x]ntfsprogs/mkntfs.c1
7 files changed, 9 insertions, 0 deletions
diff --git a/libntfs-3g/attrib.c b/libntfs-3g/attrib.c
index 1a9ef37..a3417ea 100755..100644
--- a/libntfs-3g/attrib.c
+++ b/libntfs-3g/attrib.c
@@ -44,6 +44,7 @@
#include <limits.h>
#endif
+#include <strings.h>
#include "param.h"
#include "compat.h"
#include "attrib.h"
diff --git a/libntfs-3g/bootsect.c b/libntfs-3g/bootsect.c
index e9be072..1fa2c79 100755..100644
--- a/libntfs-3g/bootsect.c
+++ b/libntfs-3g/bootsect.c
@@ -38,6 +38,7 @@
#include <errno.h>
#endif
+#include <strings.h>
#include "compat.h"
#include "bootsect.h"
#include "debug.h"
diff --git a/libntfs-3g/dir.c b/libntfs-3g/dir.c
index 2539586..2d7a705 100755..100644
--- a/libntfs-3g/dir.c
+++ b/libntfs-3g/dir.c
@@ -44,6 +44,7 @@
#include <sys/sysmacros.h>
#endif
+#include <strings.h>
#include "param.h"
#include "types.h"
#include "debug.h"
diff --git a/libntfs-3g/logfile.c b/libntfs-3g/logfile.c
index 336bdd2..230fc1c 100755..100644
--- a/libntfs-3g/logfile.c
+++ b/libntfs-3g/logfile.c
@@ -35,6 +35,7 @@
#include <errno.h>
#endif
+#include <strings.h>
#include "attrib.h"
#include "debug.h"
#include "logfile.h"
diff --git a/libntfs-3g/mft.c b/libntfs-3g/mft.c
index 0640efe..061da1a 100755..100644
--- a/libntfs-3g/mft.c
+++ b/libntfs-3g/mft.c
@@ -43,6 +43,7 @@
#endif
#include <time.h>
+#include <strings.h>
#include "compat.h"
#include "types.h"
#include "device.h"
diff --git a/libntfs-3g/volume.c b/libntfs-3g/volume.c
index edd7697..64025f9 100755..100644
--- a/libntfs-3g/volume.c
+++ b/libntfs-3g/volume.c
@@ -58,6 +58,7 @@
#include <sys/mnttab.h>
#endif
+#include <strings.h>
#include "param.h"
#include "compat.h"
#include "volume.h"
@@ -75,6 +76,8 @@
#include "realpath.h"
#include "misc.h"
+extern char *hasmntopt(const struct mntent *mnt, const char *opt);
+
const char *ntfs_home =
"News, support and information: http://tuxera.com\n";
diff --git a/ntfsprogs/mkntfs.c b/ntfsprogs/mkntfs.c
index 506b540..bf9936c 100755..100644
--- a/ntfsprogs/mkntfs.c
+++ b/ntfsprogs/mkntfs.c
@@ -72,6 +72,7 @@
#include <uuid/uuid.h>
#endif
+#include <strings.h>
#ifdef HAVE_GETOPT_H
#include <getopt.h>