20 lines
702 B
Text
20 lines
702 B
Text
$NetBSD: patch-aj,v 1.2 2009/10/18 10:21:01 tnn Exp $
|
|
|
|
--- jdk/src/solaris/native/java/net/NetworkInterface.c.orig 2009-10-17 16:49:37.000000000 +0200
|
|
+++ jdk/src/solaris/native/java/net/NetworkInterface.c
|
|
@@ -50,13 +50,11 @@
|
|
#if defined(_ALLBSD_SOURCE)
|
|
#include <sys/param.h>
|
|
#include <sys/ioctl.h>
|
|
-#if defined(__FreeBSD__) || defined(__APPLE__)
|
|
+#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__DragonFly__)
|
|
#include <net/ethernet.h>
|
|
#include <net/if_var.h>
|
|
-#elif defined(__OpenBSD__)
|
|
+#elif defined(__OpenBSD__) || defined(__NetBSD__)
|
|
#include <netinet/if_ether.h>
|
|
-#elif defined(__NetBSD__)
|
|
-#include <net/if_ether.h>
|
|
#endif
|
|
#include <net/if_dl.h>
|
|
#include <netinet/in_var.h>
|