summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/handshake.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/handshake.c b/src/handshake.c
index 01a582f..141f4ce 100644
--- a/src/handshake.c
+++ b/src/handshake.c
@@ -24,6 +24,8 @@
*/
+#define _GNU_SOURCE
+
#include "handshake.h"
#include "packet.h"
#include "peer.h"