diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2020-09-08 23:59:18 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2020-09-21 10:02:20 -0400 |
| commit | cae8bc967cf7c93b7924ae4aaa05a99dfe345c78 (patch) | |
| tree | c7de335da42ae46a645cecee414b85c8f991f79e /lib/zebra.h | |
| parent | 1f79037b72f0ec93153f9505a11bce9812429993 (diff) | |
*: Remove solaris from FRR
The Solaris code has gone through a deprecation cycle. No-one
has said anything to us and worse of all we don't have any test
systems running Solaris to know if we are making changes that
are breaking on Solaris. Remove it from the system so
we can clean up a bit.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/zebra.h')
| -rw-r--r-- | lib/zebra.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index b2f0202c53..14d66d6627 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -27,12 +27,6 @@ #include "compiler.h" -#ifdef SUNOS_5 -typedef unsigned int uint32_t; -typedef unsigned short uint16_t; -typedef unsigned char uint8_t; -#endif /* SUNOS_5 */ - #include <unistd.h> #include <stdio.h> #include <stdlib.h> @@ -76,11 +70,6 @@ typedef unsigned char uint8_t; #include <stdbool.h> /* machine dependent includes */ -#ifdef SUNOS_5 -#include <strings.h> -#endif /* SUNOS_5 */ - -/* machine dependent includes */ #ifdef HAVE_LINUX_VERSION_H #include <linux/version.h> #endif /* HAVE_LINUX_VERSION_H */ @@ -112,10 +101,6 @@ typedef unsigned char uint8_t; #include <sys/prctl.h> #endif /* HAVE_LCAPS */ -#ifdef HAVE_SOLARIS_CAPABILITIES -#include <priv.h> -#endif /* HAVE_SOLARIS_CAPABILITIES */ - /* network include group */ #include <sys/socket.h> @@ -306,8 +291,7 @@ struct in_pktinfo { #if defined(__NetBSD__) \ || (defined(__FreeBSD__) && (__FreeBSD_version < 1100030)) \ || (defined(__OpenBSD__) && (OpenBSD < 200311)) \ - || (defined(__APPLE__)) \ - || (defined(SUNOS_5) && defined(WORDS_BIGENDIAN)) + || (defined(__APPLE__)) #define HAVE_IP_HDRINCL_BSD_ORDER #endif |
