[openssh-commits] [openssh] 01/01: Include includes.h for HAVE_GETPAGESIZE.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Oct 31 10:11:46 AEDT 2017


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit f21455a084f9cc3942cf1bde64055a4916849fed
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Tue Oct 31 10:09:33 2017 +1100

    Include includes.h for HAVE_GETPAGESIZE.
    
    The configure script checks for getpagesize() and sets HAVE_GETPAGESIZE in
    config.h, but bsd-getpagesize.c forgot to include includes.h (which
    indirectly includes config.h) so the checks always fails, causing linker
    issues when linking statically on systems with getpagesize().
    
    Patch from Peter Korsgaard <peter at korsgaard.com>
---
 openbsd-compat/bsd-getpagesize.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/openbsd-compat/bsd-getpagesize.c b/openbsd-compat/bsd-getpagesize.c
index 9daddfbd..416a8d4c 100644
--- a/openbsd-compat/bsd-getpagesize.c
+++ b/openbsd-compat/bsd-getpagesize.c
@@ -1,5 +1,7 @@
 /* Placed in the public domain */
 
+#include "includes.h"
+
 #ifndef HAVE_GETPAGESIZE
 
 #include <unistd.h>

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list