summaryrefslogtreecommitdiff
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-09-30 09:55:49 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-09-30 09:55:49 +1000
commit6e4221129e58d792ec14025af823f654b5898cd6 (patch)
tree040a7fbc66f35e6843feefcac964658823682309 /openbsd-compat/openbsd-compat.h
parent372c8fbe9be87789106fb004ea684a65984712e9 (diff)
- (dtucker) [openbsd-compat/openbsd-compat.h] Bug #1096: Add prototype
for strtoll. Patch from o.flebbe at science-computing.de.
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 ba68bc27e..dda558ffe 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -1,4 +1,4 @@
1/* $Id: openbsd-compat.h,v 1.30 2005/08/26 20:15:20 tim Exp $ */ 1/* $Id: openbsd-compat.h,v 1.31 2005/09/29 23:55:50 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.
@@ -152,6 +152,10 @@ int openpty(int *, int *, char *, struct termios *, struct winsize *);
152int snprintf(char *, size_t, const char *, ...); 152int snprintf(char *, size_t, const char *, ...);
153#endif 153#endif
154 154
155#ifndef HAVE_STRTOLL
156long long strtoll(const char *, char **, int);
157#endif
158
155#ifndef HAVE_STRTONUM 159#ifndef HAVE_STRTONUM
156long long strtonum(const char *, long long, long long, const char **); 160long long strtonum(const char *, long long, long long, const char **);
157#endif 161#endif