2013-09-26 17:14:40 +02:00

21 lines
453 B
Plaintext

$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