pkgsrc/sysutils/mrsync/patches/patch-af
agc 4318f6f80c Initial import of mrsync version 20090219 into the Packages Collection.
mrsync is a tool to transfer files from a master to many remote
	machines in LAN using Unix multicast sockets.  It dynamically adjusts
	its transfer speed to ease on the network and to leave no one behind.
	4 hours for 140GB to 100 targets in 1Gbit LAN
2011-12-02 05:40:00 +00:00

20 lines
453 B
Text

$NetBSD: patch-af,v 1.1.1.1 2011/12/02 05:40:00 agc Exp $
Get the headers right
--- set_catcher_mcast.c 2011/11/30 21:07:45 1.1
+++ set_catcher_mcast.c 2011/11/30 21:08:08
@@ -29,10 +29,10 @@
#include "main.h"
#include <net/if.h>
-#ifdef _SUN
-#include <sys/sockio.h> /* define SIOCGIFADDR */
-#else
+#ifdef _linux__
#include <linux/sockios.h>
+#else
+#include <sys/sockio.h> /* define SIOCGIFADDR */
#endif
#define SA struct sockaddr