Hundley broke a 2-2 tie in the eighth inning by sending his decisive hit down the leftfield line at Petco Park after Will Venable and Jedd Gyorko had reached base on back-to-back singles with one out.
Dale Thayer (1-3) was credited with the win. Huston Street chalked up his 20th save.
Ray Liotta sues skin care company over use of likeness
Millions of Getty images now available for free via embed tool