summaryrefslogtreecommitdiff
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-02-15 12:13:01 +1100
committerDarren Tucker <dtucker@zip.com.au>2013-02-15 12:13:01 +1100
commit8e6fb780e54f484e3dca4f1bf0abcd9bf13f092f (patch)
treed28a08a3db08e470474a0aa8efde812f7b59b874 /openbsd-compat/openbsd-compat.h
parent62e4edc797a284f551e7faa616af06f8c3c24015 (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.h6
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);
218int timingsafe_bcmp(const void *, const void *, size_t); 218int timingsafe_bcmp(const void *, const void *, size_t);
219#endif 219#endif
220 220
221#ifndef HAVE_STRTOULL
222unsigned long long strtoull(const char *, char **, int);
223#endif
224
221void *xmmap(size_t size); 225void *xmmap(size_t size);
222char *xcrypt(const char *password, const char *salt); 226char *xcrypt(const char *password, const char *salt);
223char *shadow_pw(struct passwd *pw); 227char *shadow_pw(struct passwd *pw);