aboutsummaryrefslogtreecommitdiff
path: root/src/nat/gnunet-helper-nat-client.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-11-30 00:02:26 +0000
committerChristian Grothoff <christian@grothoff.org>2013-11-30 00:02:26 +0000
commitb2f1bcafa32963ef1bbb9c00ea7b75c933c2016e (patch)
tree213cf86c269c6f61cfae3cb8e350d5ee1eb7f136 /src/nat/gnunet-helper-nat-client.c
parentd3ab6b114ef933c3810919f8bdb9f8c3ceb13774 (diff)
downloadgnunet-b2f1bcafa32963ef1bbb9c00ea7b75c933c2016e.tar.gz
gnunet-b2f1bcafa32963ef1bbb9c00ea7b75c933c2016e.zip
applying patch from #3148 (by shedatc) to make gnunet-helper-nat-client compile on FreeBSD
Diffstat (limited to 'src/nat/gnunet-helper-nat-client.c')
-rw-r--r--src/nat/gnunet-helper-nat-client.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nat/gnunet-helper-nat-client.c b/src/nat/gnunet-helper-nat-client.c
index bb31570b5..46d51a38c 100644
--- a/src/nat/gnunet-helper-nat-client.c
+++ b/src/nat/gnunet-helper-nat-client.c
@@ -61,6 +61,11 @@
61#include <netinet/ip_icmp.h> 61#include <netinet/ip_icmp.h>
62#include <netinet/in.h> 62#include <netinet/in.h>
63 63
64/* The following constant is missing from FreeBSD 9.2 */
65#ifndef ICMP_TIME_EXCEEDED
66#define ICMP_TIME_EXCEEDED 11
67#endif
68
64/** 69/**
65 * Must match IP given in the server. 70 * Must match IP given in the server.
66 */ 71 */