diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zebra.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index dc17730b..3193b6e2 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -178,6 +178,11 @@ typedef int socklen_t; #include <netinet6/nd6.h> #endif /* HAVE_NETINET6_ND6_H */ +/* Some systems do not define UINT32_MAX */ +#ifndef UINT32_MAX +#define UINT32_MAX 0xFFFFFFFFU +#endif /* UINT32_MAX */ + #ifdef HAVE_LIBUTIL_H #include <libutil.h> #endif /* HAVE_LIBUTIL_H */ |