diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-04-02 20:03:56 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-04-02 20:03:56 +0200 |
commit | d8f23ce7e46ff930ef1ccacc0869c4c44999e6e6 (patch) | |
tree | 9673ccba08bed6fb304f9bf5cfba06055ecc00dc | |
parent | e95235a5f71aa40dea29a02cd8d4d1625add7d39 (diff) | |
download | gnunet-d8f23ce7e46ff930ef1ccacc0869c4c44999e6e6.tar.gz gnunet-d8f23ce7e46ff930ef1ccacc0869c4c44999e6e6.zip |
-add include for type fd_set
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r-- | src/include/gnunet_network_lib.h | 10 |
1 files changed, 9 insertions, 1 deletions
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 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2009-2013 GNUnet e.V. | 3 | Copyright (C) 2009-2013, 2022 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software: you can redistribute it and/or modify it | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | under the terms of the GNU Affero General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @author Nils Durner | 22 | * @author Nils Durner |
23 | * @author Tobias Frisch | ||
23 | * | 24 | * |
24 | * @file | 25 | * @file |
25 | * Basic low-level networking interface | 26 | * Basic low-level networking interface |
@@ -39,6 +40,13 @@ extern "C" | |||
39 | #endif | 40 | #endif |
40 | #endif | 41 | #endif |
41 | 42 | ||
43 | //#ifdef HAVE_SYS_SELECT_H | ||
44 | /* | ||
45 | * Include "sys/select.h" because it is required to use | ||
46 | * "fd_set" in "struct GNUNET_NETWORK_FDSet"! | ||
47 | */ | ||
48 | #include <sys/select.h> | ||
49 | //#endif | ||
42 | #ifdef HAVE_SYS_SOCKET_H | 50 | #ifdef HAVE_SYS_SOCKET_H |
43 | #include <sys/socket.h> | 51 | #include <sys/socket.h> |
44 | #endif | 52 | #endif |