From d8f23ce7e46ff930ef1ccacc0869c4c44999e6e6 Mon Sep 17 00:00:00 2001 From: TheJackiMonster Date: Sat, 2 Apr 2022 20:03:56 +0200 Subject: -add include for type fd_set Signed-off-by: TheJackiMonster --- src/include/gnunet_network_lib.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h index ff1e853f5..b1cf58711 100644 --- a/src/include/gnunet_network_lib.h +++ b/src/include/gnunet_network_lib.h @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - Copyright (C) 2009-2013 GNUnet e.V. + Copyright (C) 2009-2013, 2022 GNUnet e.V. GNUnet is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published @@ -20,6 +20,7 @@ /** * @author Nils Durner + * @author Tobias Frisch * * @file * Basic low-level networking interface @@ -39,6 +40,13 @@ extern "C" #endif #endif +//#ifdef HAVE_SYS_SELECT_H +/* + * Include "sys/select.h" because it is required to use + * "fd_set" in "struct GNUNET_NETWORK_FDSet"! + */ +#include +//#endif #ifdef HAVE_SYS_SOCKET_H #include #endif -- cgit v1.2.3