If you have an EFIS (like the G1000, G300, Dynon, GRT, etc), you meet the requirement. What happens if it fails (whatever the reason), or your wet compass falls off the panel? Same answer: you get if fixed. If you need to fly somewhere to do so, you need a Ferry Permit.
If the plane is IFR...