Include socket.h before socket_helpers.h