summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-22 13:25:13 +1100
committerDamien Miller <djm@mindrot.org>2000-01-22 13:25:13 +1100
commit91427007bca1c7e064d720820bcafce3573a668d (patch)
treee88e01d8e3eb94620b38ffdbd4893a78cdaa3cbf
parentee1c0b3d3b1334d2e498aded0151ea8c0d804ebc (diff)
- Fix compilation of bsd-snprintf.c on Solaris, fix from Ben Taylor
<bent@clark.net>
-rw-r--r--ChangeLog4
-rw-r--r--bsd-snprintf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 14005e7aa..d4f7f8e7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120000122
2 - Fix compilation of bsd-snprintf.c on Solaris, fix from Ben Taylor
3 <bent@clark.net>
4
120000120 520000120
2 - Don't use getaddrinfo on AIX 6 - Don't use getaddrinfo on AIX
3 - Update to latest OpenBSD CVS: 7 - Update to latest OpenBSD CVS:
diff --git a/bsd-snprintf.c b/bsd-snprintf.c
index 81a4b284e..c1dcdab4b 100644
--- a/bsd-snprintf.c
+++ b/bsd-snprintf.c
@@ -44,7 +44,7 @@
44#include <setjmp.h> 44#include <setjmp.h>
45 45
46#ifndef roundup 46#ifndef roundup
47#define roundup (x, y) ((((x)+((y)-1))/(y))*(y)) 47#define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
48#endif 48#endif
49 49
50static int pgsize; 50static int pgsize;