# include <errno.h>
#endif
+#include <fcntl.h>
+
#if defined HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
# include <netinet/in.h>
#endif
+#if defined HAVE_NETINET_TCP_H
+# include <netinet/tcp.h>
+#endif
+
#if defined HAVE_SYS_UN_H
# include <sys/un.h>
#endif