Whamcloud - gitweb
libext2fs: include config.h for HAVE_xxx defines
[tools/e2fsprogs.git] / lib / ext2fs / fiemap.h
index 671decb..30bf555 100644 (file)
@@ -34,6 +34,10 @@ struct fiemap {
        struct fiemap_extent fm_extents[0]; /* array of mapped extents (out) */
 };
 
+#ifndef FS_IOC_FIEMAP
+#define FS_IOC_FIEMAP  _IOWR('f', 11, struct fiemap)
+#endif
+
 #define FIEMAP_MAX_OFFSET      (~0ULL)
 
 #define FIEMAP_FLAG_SYNC       0x00000001 /* sync file data before map */