foo.hpp struct boo_foo { }; typedef boo_foo foo; my.hpp //forward declaration of foo, how? class Bar { ... private: foo *p; };