aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_network_lib.h10
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