Whamcloud - gitweb
LU-1606 api: Include stddef.h in ll_fiemap.h
authorChristopher J. Morrone <morrone2@llnl.gov>
Wed, 18 Jul 2012 00:40:10 +0000 (17:40 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 Nov 2012 22:49:11 +0000 (18:49 -0400)
In user space only, include stddef.h in ll_fiemap.h to define
such things as size_t.

Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Change-Id: Ia5efa7758d27952009a50c479b3e02d4b6b7c9b6
Reviewed-on: http://review.whamcloud.com/3425
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Wei <liwei@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/ll_fiemap.h

index ebfd585..f83b135 100644 (file)
@@ -48,6 +48,7 @@
 #if !defined(HAVE_LINUX_FIEMAP_H) || !defined(__KERNEL__)
 
 #ifndef __KERNEL__
+#include <stddef.h>
 #include <libcfs/posix/posix-types.h>
 #endif