diff options
author | Damien Miller <djm@mindrot.org> | 2000-01-22 13:25:13 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-01-22 13:25:13 +1100 |
commit | 91427007bca1c7e064d720820bcafce3573a668d (patch) | |
tree | e88e01d8e3eb94620b38ffdbd4893a78cdaa3cbf | |
parent | ee1c0b3d3b1334d2e498aded0151ea8c0d804ebc (diff) |
- Fix compilation of bsd-snprintf.c on Solaris, fix from Ben Taylor
<bent@clark.net>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | bsd-snprintf.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +20000122 + - Fix compilation of bsd-snprintf.c on Solaris, fix from Ben Taylor + <bent@clark.net> + 20000120 - Don't use getaddrinfo on AIX - Update to latest OpenBSD CVS: diff --git a/bsd-snprintf.c b/bsd-snprintf.c index 81a4b284..c1dcdab4 100644 --- a/bsd-snprintf.c +++ b/bsd-snprintf.c @@ -44,7 +44,7 @@ #include <setjmp.h> #ifndef roundup -#define roundup (x, y) ((((x)+((y)-1))/(y))*(y)) +#define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) #endif static int pgsize; |