blob: e2700b7ea6c0a4befdffb34e48097021b3225fc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ac,v 1.1.1.1 2011/12/02 05:40:00 agc Exp $
get the right headers for BSD
--- set_mcast.c 2011/11/30 20:37:22 1.1
+++ set_mcast.c 2011/11/30 20:37:50
@@ -27,10 +27,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
|