Skip to contentSkip to conversation

include types.h in fiemap.h now that it's exported

PATCH New Eric Sandeen 1 participant 1 message Apr 3, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include types.h in fiemap.h now that it's exported

Include <linux/types.h> in fiemap.h, Sam Ravnborg pointed out that this was missing in this newly-exported header which uses the __u32 and __u64 types.

--

include/linux/fiemap.h +2 -0
Index: linux-2.6/include/linux/fiemap.h
===================================================================
@@ -11,6 +11,8 @@
 #ifndef _LINUX_FIEMAP_H
 #define _LINUX_FIEMAP_H
 
+#include <linux/types.h>
+
 struct fiemap_extent {
 	__u64 fe_logical;  /* logical offset in bytes for the start of
 			    * the extent from the beginning of the file */