From 5ac712d81a84396aab441a272ec429af5b738302 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 16 Feb 2016 10:45:02 +1100 Subject: make existing ssh_malloc_init only for __OpenBSD__ --- xmalloc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xmalloc.c b/xmalloc.c index dea9dd9fe..b58323677 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 * -- cgit v1.2.3