This backports a patch that has been accepted upstream in linuxptp: 8b61aa2c3f ("udp: Avoid including netdb.h") to fix build errors with external glibc toolchains that provide rpc/types.h. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
8b61aa2c3f