diff options
author | Darren Tucker <dtucker@zip.com.au> | 2017-03-20 13:38:27 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2017-03-20 13:39:27 +1100 |
commit | d38f05dbdd291212bc95ea80648b72b7177e9f4e (patch) | |
tree | a168524bf423b2462c481e0c204ca9b5d0755a96 /openbsd-compat/bsd-misc.h | |
parent | 72536316a219b7394996a74691a5d4ec197480f7 (diff) | |
download | openssh-git-d38f05dbdd291212bc95ea80648b72b7177e9f4e.tar.gz |
Add llabs() implementation.V_7_5_P1
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r-- | openbsd-compat/bsd-misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index 6f08b09f..70a538f0 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h @@ -135,4 +135,8 @@ void errx(int, const char *, ...) __attribute__((format(printf, 2, 3))); void warn(const char *, ...) __attribute__((format(printf, 1, 2))); #endif +#ifndef HAVE_LLABS +long long llabs(long long); +#endif + #endif /* _BSD_MISC_H */ |