Header protection macro