summaryrefslogtreecommitdiff
path: root/sysutils/mrsync/patches/patch-af
blob: 87bacab0cd1ce8afe9248aac8571cbcae7054b75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$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