let alone sys/param.h, which it uses to get roundup(). make a local
copy of the macro, and call it a day.
-/* $OpenBSD: dh.c,v 1.22 2021/05/13 14:28:03 tb Exp $ */
+/* $OpenBSD: dh.c,v 1.23 2021/11/29 06:42:13 deraadt Exp $ */
/*
* Copyright (c) 2010-2014 Reyk Floeter <reyk@openbsd.org>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h> /* roundup */
#include <string.h>
#include <openssl/obj_mac.h>
#include "dh.h"
+#define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
+
int dh_init(struct group *);
int modp_init(struct group *);