Whamcloud - gitweb
LU-2335 lnet: remove unnecessary libcfs include
[fs/lustre-release.git] / lnet / selftest / rpc.h
index 71b9054..d9cdca5 100644 (file)
@@ -65,7 +65,10 @@ typedef enum {
         SRPC_MSG_JOIN_REPLY     = 17,
 } srpc_msg_type_t;
 
         SRPC_MSG_JOIN_REPLY     = 17,
 } srpc_msg_type_t;
 
+#ifdef __WINNT__
 #include <libcfs/libcfs_pack.h>
 #include <libcfs/libcfs_pack.h>
+#include <libcfs/libcfs_unpack.h>
+#endif
 
 /* CAVEAT EMPTOR:
  * All srpc_*_reqst_t's 1st field must be matchbits of reply buffer,
 
 /* CAVEAT EMPTOR:
  * All srpc_*_reqst_t's 1st field must be matchbits of reply buffer,
@@ -284,8 +287,6 @@ typedef struct srpc_msg {
         }     msg_body;
 } WIRE_ATTR srpc_msg_t;
 
         }     msg_body;
 } WIRE_ATTR srpc_msg_t;
 
-#include <libcfs/libcfs_unpack.h>
-
 static inline void
 srpc_unpack_msg_hdr(srpc_msg_t *msg)
 {
 static inline void
 srpc_unpack_msg_hdr(srpc_msg_t *msg)
 {