summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/apps/certpatch/certpatch.c8
-rw-r--r--sbin/isakmpd/regress/rsakeygen/rsakeygen.c8
-rw-r--r--sbin/isakmpd/regress/x509/x509test.c8
3 files changed, 18 insertions, 6 deletions
diff --git a/sbin/isakmpd/apps/certpatch/certpatch.c b/sbin/isakmpd/apps/certpatch/certpatch.c
index 42acd23ffd0..92b61efa535 100644
--- a/sbin/isakmpd/apps/certpatch/certpatch.c
+++ b/sbin/isakmpd/apps/certpatch/certpatch.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: certpatch.c,v 1.11 2000/12/19 18:54:59 mickey Exp $ */
-/* $EOM: certpatch.c,v 1.10 2000/10/24 13:34:24 niklas Exp $ */
+/* $OpenBSD: certpatch.c,v 1.12 2001/01/26 11:08:22 niklas Exp $ */
+/* $EOM: certpatch.c,v 1.11 2000/12/21 14:50:09 ho Exp $ */
/*
* Copyright (c) 1999 Niels Provos. All rights reserved.
@@ -58,6 +58,10 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#if MP_FLAVOUR == MP_FLAVOUR_GMP
+# include <gmp.h>
+#endif
+
#include "sysdep.h"
#ifdef KAME
diff --git a/sbin/isakmpd/regress/rsakeygen/rsakeygen.c b/sbin/isakmpd/regress/rsakeygen/rsakeygen.c
index 64e754569d2..5833e3a6cb9 100644
--- a/sbin/isakmpd/regress/rsakeygen/rsakeygen.c
+++ b/sbin/isakmpd/regress/rsakeygen/rsakeygen.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: rsakeygen.c,v 1.10 2000/12/19 18:54:59 mickey Exp $ */
-/* $EOM: rsakeygen.c,v 1.9 1999/08/12 22:34:30 niklas Exp $ */
+/* $OpenBSD: rsakeygen.c,v 1.11 2001/01/26 11:08:24 niklas Exp $ */
+/* $EOM: rsakeygen.c,v 1.10 2000/12/21 15:18:53 ho Exp $ */
/*
* Copyright (c) 1998, 1999 Niels Provos. All rights reserved.
@@ -41,6 +41,10 @@
#include <stdio.h>
#include <string.h>
+#if MP_FLAVOUR == MP_FLAVOUR_GMP
+# include <gmp.h>
+#endif
+
#include "libcrypto.h"
#include "log.h"
diff --git a/sbin/isakmpd/regress/x509/x509test.c b/sbin/isakmpd/regress/x509/x509test.c
index 5117cdfe4a6..2fca1cb8449 100644
--- a/sbin/isakmpd/regress/x509/x509test.c
+++ b/sbin/isakmpd/regress/x509/x509test.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: x509test.c,v 1.11 2000/12/19 18:54:59 mickey Exp $ */
-/* $EOM: x509test.c,v 1.8 1999/09/30 13:40:39 niklas Exp $ */
+/* $OpenBSD: x509test.c,v 1.12 2001/01/26 11:08:25 niklas Exp $ */
+/* $EOM: x509test.c,v 1.9 2000/12/21 15:24:25 ho Exp $ */
/*
* Copyright (c) 1998, 1999 Niels Provos. All rights reserved.
@@ -59,6 +59,10 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#if MP_FLAVOUR == MP_FLAVOUR_GMP
+# include <gmp.h>
+#endif
+
#include "conf.h"
#include "libcrypto.h"
#include "log.h"