pkgsrc/sysutils/mrsync/patches/patch-ab
agc c611e789b9 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
551 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2011/12/02 05:40:00 agc Exp $
get the right prototypes
--- setup_socket.c 2011/11/30 20:33:53 1.1
+++ setup_socket.c 2011/11/30 20:34:13
@@ -36,10 +36,12 @@
*/
-#include <sys/socket.h>
#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/select.h>
#include <sys/un.h>
#include <stdio.h>
+#include <string.h>
#include <stdlib.h>
#include <netinet/in.h> /* sockaddr_in{} and other Internet defns */
#include <arpa/inet.h> /* inet(3) functions */