The Food and Drug Administration has granted regulatory approval for a generic drug to treat tension headaches.