summaryrefslogtreecommitdiff
path: root/src/nat/gnunet-helper-nat-server.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-server.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-server.c')
-rw-r--r--src/nat/gnunet-helper-nat-server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nat/gnunet-helper-nat-server.c b/src/nat/gnunet-helper-nat-server.c
index 37b875ee4..71057beec 100644
--- a/src/nat/gnunet-helper-nat-server.c
+++ b/src/nat/gnunet-helper-nat-server.c
@@ -65,6 +65,11 @@
65#include <netinet/ip_icmp.h> 65#include <netinet/ip_icmp.h>
66#include <netinet/in.h> 66#include <netinet/in.h>
67 67
68/* The following constant is missing from FreeBSD 9.2 */
69#ifndef ICMP_TIME_EXCEEDED
70#define ICMP_TIME_EXCEEDED 11
71#endif
72
68/** 73/**
69 * Should we print some debug output? 74 * Should we print some debug output?
70 */ 75 */