mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
13 lines
304 B
C
13 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
|