#include using std::set; namespace myns { struct bar_type { set foo; }; } // myns extern void foo ();