summaryrefslogtreecommitdiff
path: root/sysutils/mrsync/patches/patch-ah
blob: 726de3aa1e8e069dd1f63033385a371fa743450f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ah,v 1.1.1.1 2011/12/02 05:40:00 agc Exp $

Get the right header files

--- rttsends.c	2011/11/30 21:11:57	1.1
+++ rttsends.c	2011/11/30 21:12:19
@@ -26,10 +26,10 @@
 
 #include "rttmain.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
 
 extern char *      my_MCAST_ADDR;