Add include guards to record definitions