replace ifdefs around close socket with compatible_close

Signed-off-by: Andy Green <andy.green@linaro.org>
3 files changed