1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/security/nacl/files/patch-curvecp_socket__udp.c
Hiroki Sato c05ab09e69 - Remove unnecessary hostname -s.
- Update WWW: in pkg-descr.
- Style clean-ups.
2016-12-30 13:09:29 +00:00

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