#include <lustre_debug.h>
#include <lprocfs_status.h>
#include <cl_object.h>
-#include <md_object.h>
#include <lustre_fid.h>
#include <lustre_acl.h>
#include <lustre_ioctl.h>
#include <lustre_net.h>
+#ifdef HAVE_SERVER_SUPPORT
+# include <md_object.h>
+#endif /* HAVE_SERVER_SUPPORT */
#include "echo_internal.h"