summaryrefslogtreecommitdiff
path: root/net/ntp-devel/files
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2008-07-26 00:21:16 +0000
committerCy Schubert <cy@FreeBSD.org>2008-07-26 00:21:16 +0000
commit3f4b001bcf23a7d3efa55e2f252e938acf8faaa5 (patch)
tree482c88bd15c379fb05ac5e6a56cc9ea40d90e49f /net/ntp-devel/files
parent- Update to 2.11.8-rc1 (diff)
Update 4.2.5p109 --> 4.2.5p121
Diffstat (limited to 'net/ntp-devel/files')
-rw-r--r--net/ntp-devel/files/patch-libntp-refnumtoa.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/ntp-devel/files/patch-libntp-refnumtoa.c b/net/ntp-devel/files/patch-libntp-refnumtoa.c
new file mode 100644
index 000000000000..6b68cea5451c
--- /dev/null
+++ b/net/ntp-devel/files/patch-libntp-refnumtoa.c
@@ -0,0 +1,12 @@
+--- libntp/refnumtoa.c.orig 2001-10-09 00:05:38.000000000 -0700
++++ libntp/refnumtoa.c 2008-07-24 22:45:30.917697416 -0700
+@@ -2,6 +2,9 @@
+ * refnumtoa - return asciized refclock addresses stored in local array space
+ */
+ #include <stdio.h>
++#ifdef __FreeBSD_cc_version
++#include <netinet/in.h>
++#endif
+
+ #include "ntp_fp.h"
+ #include "lib_strbuf.h"