4318f6f80c
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
20 lines
453 B
Text
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
|