mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 02:56:39 -04:00
- pkg-descr: WWW: changed to https:// - Makefile ordering: PORTDOCS and PKG_PLIST swapped (portclippy suggestion) - extra patch of the file "patch" successfully ignored :-) - set MAINTAINER (was unmaintained) PR: 241982 Submitted by: Michael Muenz <m.muenz@gmail.com> (new maintainer)
20 lines
711 B
C
20 lines
711 B
C
--- util.h.orig 2019-11-15 11:52:14 UTC
|
|
+++ util.h
|
|
@@ -25,7 +25,7 @@
|
|
#include <netinet/ip.h>
|
|
#include <sys/types.h>
|
|
|
|
-#if defined(__APPLE__) || defined(__FreeBSD__)
|
|
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
#define POLLRDHUP 0
|
|
/* uClibc may does not have clock_nanosleep() */
|
|
#elif !defined (__UCLIBC__) || \
|
|
@@ -60,7 +60,7 @@ typedef union
|
|
* Raw udp packet structure with flexible-array payload
|
|
*****************************************************************************/
|
|
struct udprawpkt {
|
|
-#if defined(__APPLE__) || defined(__FreeBSD__)
|
|
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
struct ip iph;
|
|
#else
|
|
struct iphdr iph;
|