#pragma once namespace libx { struct Pair { int x, y; }; void foo(void); } // namespace libx