diff options
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index fda6706f8..4a16702ef 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -44,9 +44,9 @@ | |||
44 | #include "getrrsetbyname.h" | 44 | #include "getrrsetbyname.h" |
45 | #include "sha1.h" | 45 | #include "sha1.h" |
46 | #include "sha2.h" | 46 | #include "sha2.h" |
47 | #include "rmd160.h" | ||
48 | #include "md5.h" | 47 | #include "md5.h" |
49 | #include "blf.h" | 48 | #include "blf.h" |
49 | #include "fnmatch.h" | ||
50 | 50 | ||
51 | #ifndef HAVE_BASENAME | 51 | #ifndef HAVE_BASENAME |
52 | char *basename(const char *path); | 52 | char *basename(const char *path); |
@@ -73,7 +73,7 @@ int getpagesize(void); | |||
73 | char *getcwd(char *pt, size_t size); | 73 | char *getcwd(char *pt, size_t size); |
74 | #endif | 74 | #endif |
75 | 75 | ||
76 | #ifdef HAVE_MEMMEM | 76 | #if defined(HAVE_DECL_MEMMEM) && HAVE_DECL_MEMMEM == 0 |
77 | void *memmem(const void *, size_t, const void *, size_t); | 77 | void *memmem(const void *, size_t, const void *, size_t); |
78 | #endif | 78 | #endif |
79 | 79 | ||
@@ -322,6 +322,10 @@ void explicit_bzero(void *p, size_t n); | |||
322 | void freezero(void *, size_t); | 322 | void freezero(void *, size_t); |
323 | #endif | 323 | #endif |
324 | 324 | ||
325 | #ifndef HAVE_LOCALTIME_R | ||
326 | struct tm *localtime_r(const time_t *, struct tm *); | ||
327 | #endif | ||
328 | |||
325 | char *xcrypt(const char *password, const char *salt); | 329 | char *xcrypt(const char *password, const char *salt); |
326 | char *shadow_pw(struct passwd *pw); | 330 | char *shadow_pw(struct passwd *pw); |
327 | 331 | ||