summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-15 09:56:06 +1100
committerDamien Miller <djm@mindrot.org>1999-11-15 09:56:06 +1100
commit0a6e668ac6607529a01a0ccd8471deec9eaa5b08 (patch)
tree951056d1c2752ad72afa9c17051173c2d4999d96
parente116a26556a6e7ca7ff61c47ca132e7b362ba452 (diff)
Solaris compile fixes
-rw-r--r--ChangeLog3
-rw-r--r--acconfig.h8
-rw-r--r--configure.in2
3 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8194b7d4..15f2e16e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+19991114
+ - Solaris compilation fixes (still imcomplete)
+
19991113
- Build patch from Niels Kristian Bech Jensen <nkbj@image.dk>
- Don't install config files if they already exist
diff --git a/acconfig.h b/acconfig.h
index ac60cd4a..e5eca5b3 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 bd34e6dd..cd0c9a3d 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