lustre/include/lustre_ioctl.h included libcfs/include/libcfs/util/ioctl.h
by mistake during kernel compiles, but it's strictly a user-space header
so move it into appropriate ifdef.
Test-Parameters: trivial
Change-Id: I598ef54ad2cf8bab9788eefe487adddeb73f90c1
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/20375
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Frank Zago <fzago@cray.com>
#include <linux/types.h>
#include <libcfs/libcfs.h>
-#include <libcfs/util/ioctl.h>
#include <lustre/lustre_idl.h>
#ifdef __KERNEL__
#else /* __KERNEL__ */
# include <malloc.h>
# include <string.h>
+#include <libcfs/util/ioctl.h>
#endif /* !__KERNEL__ */
#if !defined(__KERNEL__) && !defined(LUSTRE_UTILS)