A resident of Onslow County who recently traveled to Texas is North Carolina's first confirmed case of swine flu, Gov. Beverly Perdue said Sunday.