diff --git a/mod/box/request.h b/mod/box/request.h
index 132a39b4d85bb8010363e01f54b77709438df00a..82e6231782c330d41262e1b329cfb2d76d36ba90 100644
--- a/mod/box/request.h
+++ b/mod/box/request.h
@@ -40,25 +40,7 @@ enum {
 @class Index;
 struct tarantool_cfg;
 struct tuple;
-struct port;
-struct space;
-
-struct txn {
-	u16 type;
-	u32 flags;
-
-	struct lua_State *L;
-	struct port *port;
-	struct space *space;
-	Index *index;
-
-	struct tbuf *ref_tuples;
-	struct tuple *old_tuple;
-	struct tuple *new_tuple;
-	struct tuple *lock_tuple;
-
-	struct tbuf req;
-};
+struct txn;
 
 #define BOX_RETURN_TUPLE		0x01
 #define BOX_ADD				0x02
diff --git a/mod/box/txn.h b/mod/box/txn.h
index d6815c2daae2c3f4c0cca3ee207a15b40937e679..8d9f48d1c9b5d2e2820a684815da7638ab78814e 100644
--- a/mod/box/txn.h
+++ b/mod/box/txn.h
@@ -29,8 +29,26 @@
  * SUCH DAMAGE.
  */
 #include <fiber.h>
-struct txn;
 struct tuple;
+@class Index;
+
+struct txn {
+	u16 type;
+	u32 flags;
+
+	struct lua_State *L;
+	struct port *port;
+	struct space *space;
+	Index *index;
+
+	struct tbuf *ref_tuples;
+	struct tuple *old_tuple;
+	struct tuple *new_tuple;
+	struct tuple *lock_tuple;
+
+	struct tbuf req;
+};
+
 
 /** tuple's flags */
 enum tuple_flags {