summaryrefslogtreecommitdiffstats
path: root/src/ntfs_utl.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-04-06 09:08:26 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2011-04-06 09:08:26 +0200
commit3babfb3deb5a81213f9b64517e1e7db1cf5f9ce0 (patch)
tree0efc15958222442c7e80c0213a7a1b37366f85f4 /src/ntfs_utl.c
parent39b6eb0e154bac7333e88ee68ea7f126a06ab829 (diff)
Support for ntfs-3g_ntfsprogs
Diffstat (limited to 'src/ntfs_utl.c')
-rw-r--r--src/ntfs_utl.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ntfs_utl.c b/src/ntfs_utl.c
index 23e7b79..e18848c 100644
--- a/src/ntfs_utl.c
+++ b/src/ntfs_utl.c
@@ -26,7 +26,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#ifdef HAVE_LIBNTFS
+#if defined(HAVE_LIBNTFS) || defined(HAVE_LIBNTFS3G)
#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
@@ -50,7 +50,13 @@
#include <stdarg.h>
#include "types.h"
+#ifdef HAVE_LIBNTFS
#include <ntfs/attrib.h>
+#endif
+#ifdef HAVE_LIBNTFS3G
+#include <ntfs-3g/attrib.h>
+#endif
+
#include "ntfs_utl.h"
#include "common.h"
#include "log.h"