Wed Jul 27 12:52:04 1994 Mark Eichin (eichin@tweedledumber.cygnus.com)
+ * krlogind.c, krlogin.c, krcp.c: define roundup if needed.
+
* Makefile.in: add LIBOBJS, dependency for getdtablesize.o.
* getdtablesize.c: new file.
* configure.in: build getdtablesize.c if needed.
#include <errno.h>
#include <string.h>
+#ifndef roundup
+#define roundup(x,y) ((((x)+(y)-1)/(y))*(y))
+#endif
+
#ifdef KERBEROS
#include <krb5/krb5.h>
#include <krb5/asn1.h>
#include <netdb.h>
#include <string.h>
+#ifndef roundup
+#define roundup(x,y) ((((x)+(y)-1)/(y))*(y))
+#endif
+
#ifdef KERBEROS
#include <krb5/krb5.h>
#include <krb5/asn1.h>
};
#endif /* NO_WINSIZE */
+#ifndef roundup
+#define roundup(x,y) ((((x)+(y)-1)/(y))*(y))
+#endif
+
#ifdef KERBEROS
#include <krb5/krb5.h>