[openssh-commits] [openssh] 01/01: Wrap stdint.h include in #ifdef.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jun 9 13:37:17 AEST 2017


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

dtucker pushed a commit to branch master
in repository openssh.

commit e0f609c8a2ab940374689ab8c854199c3c285a76
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Fri Jun 9 13:36:29 2017 +1000

    Wrap stdint.h include in #ifdef.
---
 openbsd-compat/recallocarray.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/openbsd-compat/recallocarray.c b/openbsd-compat/recallocarray.c
index c281f75e..3e1156ce 100644
--- a/openbsd-compat/recallocarray.c
+++ b/openbsd-compat/recallocarray.c
@@ -22,7 +22,9 @@
 
 #include <errno.h>
 #include <stdlib.h>
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
+#endif
 #include <string.h>
 #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