fix build failure within aosp master branch

sys/_types.h, which originally defined __in_port_t, was removed in
commit 9f87a0b285128542a221f2b69d3b959a4e33c054 in aosp/master branch.
KitKat also features API level 10 but without that commit merged.