mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
c05ab09e69
- Update WWW: in pkg-descr. - Style clean-ups.
14 lines
304 B
C
14 lines
304 B
C
--- curvecp/socket_udp.c.orig 2011-02-21 01:49:34 UTC
|
|
+++ curvecp/socket_udp.c
|
|
@@ -6,6 +6,10 @@
|
|
#include "socket.h"
|
|
#include "blocking.h"
|
|
|
|
+#ifndef SOL_IP
|
|
+#define SOL_IP IPPROTO_IP /* FreeBSD requires protocol number */
|
|
+#endif
|
|
+
|
|
static void enable_bsd_fragmentation(int fd)
|
|
{
|
|
#ifdef IP_DONTFRAG
|