From 0a6e668ac6607529a01a0ccd8471deec9eaa5b08 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 15 Nov 1999 09:56:06 +1100 Subject: Solaris compile fixes --- ChangeLog | 3 +++ acconfig.h | 8 ++++++++ configure.in | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8194b7d41..15f2e16e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +19991114 + - Solaris compilation fixes (still imcomplete) + 19991113 - Build patch from Niels Kristian Bech Jensen - Don't install config files if they already exist diff --git a/acconfig.h b/acconfig.h index ac60cd4a4..e5eca5b30 100644 --- a/acconfig.h +++ b/acconfig.h @@ -39,3 +39,11 @@ enum #define SHUT_RDWR SHUT_RDWR }; #endif + +#if !defined(u_int32_t) && defined(uint32_t) +#define u_int32_t uint32_t +#endif + +#if !defined(u_int16_t) && defined(uint16_t) +#define u_int16_t uint16_t +#endif diff --git a/configure.in b/configure.in index bd34e6ddc..cd0c9a3de 100644 --- a/configure.in +++ b/configure.in @@ -79,7 +79,7 @@ AC_ARG_WITH(random, [ --with-random=FILE read randomness from FILE (default /dev/urandom)], [ RANDOM_POOL="$withval"; - AC_DEFINE(RANDOM_POOL, "$RANDOM_POOL") + AC_DEFINE_UNQUOTED(RANDOM_POOL, "$RANDOM_POOL") ], [ dnl Check for random device -- cgit v1.2.3