diff --git a/headers/private/app/PortLink.h b/headers/private/app/PortLink.h index edfc95465e..9d60bc0138 100644 --- a/headers/private/app/PortLink.h +++ b/headers/private/app/PortLink.h @@ -29,8 +29,6 @@ #define _PORTLINK_H #include -#include -#include /* Error checking rules: (for if you don't want to check every return code) @@ -47,6 +45,8 @@ */ +class LinkMsgReader; +class LinkMsgSender; class BPortLink { public: @@ -81,7 +81,7 @@ public: status_t ReadShape(BShape *shape); template status_t Read(T *data) { - return fReader->Read(data,sizeof(T)); + return Read(data,sizeof(T)); } protected: