Eagles rarely attack livestock around buildings or pens. Therefore, livestock confined in buildings or pens of 1 to 2 acres (1/2 to 1 ha) usually are safe from eagles. Fences, however, are no constraint to eagles who can simply fly over them; livestock must be protected by other means.
Resources: (online)