@@ -7,30 +7,15 @@ * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ -/* - * Headers for UNIX systems - */ -#ifndef _WIN32 -#include -#include -#include -#endif - #import "OFStream.h" -/* - * Headers for Win32 - * - * These must be imported after objc/objc.h and thus OFObject! - */ #ifdef _WIN32 -#define _WIN32_WINNT 0x0501 -#include -#include +# define _WIN32_WINNT 0x0501 +# include #endif /** * The OFTCPSocket class provides functions to create and use sockets. */ @@ -39,12 +24,10 @@ #ifndef _WIN32 int sock; #else SOCKET sock; #endif - struct sockaddr *saddr; - socklen_t saddr_len; BOOL eos; } /** * \return A new autoreleased OFTCPSocket