diff options
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index cad2408d6..e15d2bd96 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.49 2010/01/16 12:58:37 dtucker Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.50 2010/08/16 03:15:23 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. | 4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. |
@@ -87,6 +87,11 @@ int setenv(register const char *name, register const char *value, int rewrite); | |||
87 | void strmode(int mode, char *p); | 87 | void strmode(int mode, char *p); |
88 | #endif | 88 | #endif |
89 | 89 | ||
90 | #ifndef HAVE_STRPTIME | ||
91 | #include <time.h> | ||
92 | char *strptime(const char *buf, const char *fmt, struct tm *tm); | ||
93 | #endif | ||
94 | |||
90 | #if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) | 95 | #if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) |
91 | int mkstemps(char *path, int slen); | 96 | int mkstemps(char *path, int slen); |
92 | int mkstemp(char *path); | 97 | int mkstemp(char *path); |