aboutsummaryrefslogtreecommitdiff
path: root/src/nat/gnunet-helper-nat-server-windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nat/gnunet-helper-nat-server-windows.c')
-rw-r--r--src/nat/gnunet-helper-nat-server-windows.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nat/gnunet-helper-nat-server-windows.c b/src/nat/gnunet-helper-nat-server-windows.c
index c8e1193e4..09bd02538 100644
--- a/src/nat/gnunet-helper-nat-server-windows.c
+++ b/src/nat/gnunet-helper-nat-server-windows.c
@@ -41,6 +41,8 @@
41 * - Christian Grothoff 41 * - Christian Grothoff
42 */ 42 */
43#define _GNU_SOURCE 43#define _GNU_SOURCE
44/* Instead of including gnunet_common.h */
45#define GNUNET_memcpy(dst,src,n) do { if (0 != n) { (void) memcpy (dst,src,n); } } while (0)
44 46
45#define FD_SETSIZE 1024 47#define FD_SETSIZE 1024
46#include <winsock2.h> 48#include <winsock2.h>