aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/openbsd-compat/openbsd-compat.h')
-rw-r--r--crypto/openssh/openbsd-compat/openbsd-compat.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/openssh/openbsd-compat/openbsd-compat.h b/crypto/openssh/openbsd-compat/openbsd-compat.h
index 4af207cdd40f..895ecf9ea111 100644
--- a/crypto/openssh/openbsd-compat/openbsd-compat.h
+++ b/crypto/openssh/openbsd-compat/openbsd-compat.h
@@ -69,10 +69,6 @@ void closefrom(int);
int ftruncate(int filedes, off_t length);
#endif
-#if defined(HAVE_DECL_GETENTROPY) && HAVE_DECL_GETENTROPY == 0
-int _ssh_compat_getentropy(void *, size_t);
-#endif
-
#ifndef HAVE_GETLINE
#include <stdio.h>
ssize_t getline(char **, size_t *, FILE *);
@@ -343,6 +339,7 @@ struct tm *localtime_r(const time_t *, struct tm *);
#endif
#ifndef HAVE_TIMEGM
+#include <time.h>
time_t timegm(struct tm *);
#endif