diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-02-15 12:13:01 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-02-15 12:13:01 +1100 |
commit | 8e6fb780e54f484e3dca4f1bf0abcd9bf13f092f (patch) | |
tree | d28a08a3db08e470474a0aa8efde812f7b59b874 /openbsd-compat/openbsd-compat.h | |
parent | 62e4edc797a284f551e7faa616af06f8c3c24015 (diff) |
- (dtucker) [configure.ac openbsd-compat/Makefile.in openbsd-compat/strtoull.c
openbsd-compat/openbsd-compat.h] Add strtoull to compat library for
platforms that don't have it.
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 664cb0445..99cebef71 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.53 2012/11/05 06:04:38 dtucker Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.54 2013/02/15 01:13:02 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. |
@@ -218,6 +218,10 @@ char *group_from_gid(gid_t, int); | |||
218 | int timingsafe_bcmp(const void *, const void *, size_t); | 218 | int timingsafe_bcmp(const void *, const void *, size_t); |
219 | #endif | 219 | #endif |
220 | 220 | ||
221 | #ifndef HAVE_STRTOULL | ||
222 | unsigned long long strtoull(const char *, char **, int); | ||
223 | #endif | ||
224 | |||
221 | void *xmmap(size_t size); | 225 | void *xmmap(size_t size); |
222 | char *xcrypt(const char *password, const char *salt); | 226 | char *xcrypt(const char *password, const char *salt); |
223 | char *shadow_pw(struct passwd *pw); | 227 | char *shadow_pw(struct passwd *pw); |