From 238497fc85332bb8bb9cb3245d3f691500190559 Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Tue, 7 Aug 2007 18:49:18 +0000 Subject: [isisd] Add support for Solaris DLPI 2007-08-07 James Carlson * configure.ac: Added support for separate link-layer access mechanisms in isisd. * isis_network.c: split up into isis_bpf.c, isis_dlpi.c, and isis_pfpacket.c, selected by autoconf, and added DLPI support. * (general) Fixed to allow compilation and use on Solaris. --- isisd/include-netbsd/iso.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'isisd/include-netbsd') diff --git a/isisd/include-netbsd/iso.h b/isisd/include-netbsd/iso.h index 714b42d6..1a80aec8 100644 --- a/isisd/include-netbsd/iso.h +++ b/isisd/include-netbsd/iso.h @@ -192,7 +192,13 @@ extern struct protosw isosw[]; #else /* user utilities definitions from the iso library */ +#ifdef SUNOS_5 +#define __P(x) x +#define __BEGIN_DECLS +#define __END_DECLS +#else #include +#endif __BEGIN_DECLS struct iso_addr *iso_addr __P((const char *)); -- cgit v1.2.1