@@ -13,10 +13,14 @@ * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFException.h" + +#ifndef OF_HAVE_SOCKETS +# error No sockets available! +#endif @class OFTCPSocket; /*! * @brief An exception indicating that a connection could not be established.