fixup! connect.h: avoid forward declaration of an enum