Files
pkgsrc-ng/security/openssh/patches/patch-openbsd-compat_openbsd-compat.h
2016-01-21 23:42:40 +01:00

18 lines
516 B
C

$NetBSD: patch-openbsd-compat_openbsd-compat.h,v 1.3 2015/07/09 16:14:23 taca Exp $
strtoll() declaration
--- openbsd-compat/openbsd-compat.h.orig 2015-07-01 02:35:31.000000000 +0000
+++ openbsd-compat/openbsd-compat.h
@@ -91,6 +91,10 @@ size_t strlcat(char *dst, const char *sr
int setenv(register const char *name, register const char *value, int rewrite);
#endif
+#ifndef HAVE_STRTOLL
+long long strtoll(const char *, char **, int);
+#endif
+
#ifndef HAVE_STRMODE
void strmode(int mode, char *p);
#endif