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

get the right headers

--- sends.c	2011/11/30 20:38:41	1.1
+++ sends.c	2011/11/30 20:39:07
@@ -35,10 +35,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
 
 extern char *      my_MCAST_ADDR;  /* defined in multicaster.c */