commit | 5ac712d81a84396aab441a272ec429af5b738302 | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Tue Feb 16 10:45:02 2016 +1100 |
committer | Damien Miller <djm@mindrot.org> | Tue Feb 16 10:45:02 2016 +1100 |
tree | 549117d2b090ba70a9178928799e8c02aed24afe | |
parent | 24c9bded569d9f2449ded73f92fb6d12db7a9eec [diff] [blame] |
make existing ssh_malloc_init only for __OpenBSD__
diff --git a/xmalloc.c b/xmalloc.c index dea9dd9..b583236 100644 --- a/xmalloc.c +++ b/xmalloc.c
@@ -29,9 +29,11 @@ void ssh_malloc_init(void) { +#if defined(__OpenBSD__) extern char *malloc_options; malloc_options = "S"; +#endif /* __OpenBSD__ */ } void *