ports/net/megacmd/files/patch-src_megacmdshell_megacmdshellcommunications.cpp
kikadf e3d0ef9d46 net/megacmd: update to 1.7.0
Add DragonFly and NetBSD-specific patches to better maintain.

PR:		279273
Approved by:	submitter is maintainer
2024-08-07 13:44:35 +02:00

11 lines
336 B
C++

--- src/megacmdshell/megacmdshellcommunications.cpp.orig 2024-05-20 12:29:43 UTC
+++ src/megacmdshell/megacmdshellcommunications.cpp
@@ -55,7 +55,7 @@
#include <limits.h>
#endif
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
#include <netinet/in.h>
#endif