gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit d8f23ce7e46ff930ef1ccacc0869c4c44999e6e6
parent e95235a5f71aa40dea29a02cd8d4d1625add7d39
Author: TheJackiMonster <thejackimonster@gmail.com>
Date:   Sat,  2 Apr 2022 20:03:56 +0200

-add include for type fd_set

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>

Diffstat:
Msrc/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 @@ -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 <sys/select.h> +//#endif #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif