summaryrefslogtreecommitdiffstats
path: root/isisd/include-netbsd/iso.h
diff options
context:
space:
mode:
authorpaul <paul>2007-08-07 18:49:18 +0000
committerpaul <paul>2007-08-07 18:49:18 +0000
commit2d192a330b41f105157945fde45d1f2a6cfd0b9e (patch)
tree5a15f289a67886c88bd9122f97dee30487fc552e /isisd/include-netbsd/iso.h
parent420692ec70367ad8d2429ecf3bcab7843863ec49 (diff)
downloadquagga-2d192a330b41f105157945fde45d1f2a6cfd0b9e.tar.bz2
quagga-2d192a330b41f105157945fde45d1f2a6cfd0b9e.tar.xz
[isisd] Add support for Solaris DLPI
2007-08-07 James Carlson <james.d.carlson@sun.com> * 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.
Diffstat (limited to 'isisd/include-netbsd/iso.h')
-rw-r--r--isisd/include-netbsd/iso.h6
1 files changed, 6 insertions, 0 deletions
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 <sys/cdefs.h>
+#endif
__BEGIN_DECLS
struct iso_addr *iso_addr __P((const char *));