Mailing List Archive

[openssh] 01/01: Wrap stdint.h includes in HAVE_STDINT_H.
This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 4c356308a88d309c796325bb75dce90ca16591d5
Author: Darren Tucker <dtucker@zip.com.au>
Date: Tue Feb 24 13:49:31 2015 +1100

Wrap stdint.h includes in HAVE_STDINT_H.
---
regress/unittests/bitmap/tests.c | 2 ++
regress/unittests/hostkeys/test_iterate.c | 2 ++
regress/unittests/kex/test_kex.c | 2 ++
3 files changed, 6 insertions(+)

diff --git a/regress/unittests/bitmap/tests.c b/regress/unittests/bitmap/tests.c
index 5e02ca1..8c630ac 100644
--- a/regress/unittests/bitmap/tests.c
+++ b/regress/unittests/bitmap/tests.c
@@ -8,7 +8,9 @@
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>

diff --git a/regress/unittests/hostkeys/test_iterate.c b/regress/unittests/hostkeys/test_iterate.c
index c681f19..2b2c650 100644
--- a/regress/unittests/hostkeys/test_iterate.c
+++ b/regress/unittests/hostkeys/test_iterate.c
@@ -8,7 +8,9 @@
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>

diff --git a/regress/unittests/kex/test_kex.c b/regress/unittests/kex/test_kex.c
index 762f524..3151fa9 100644
--- a/regress/unittests/kex/test_kex.c
+++ b/regress/unittests/kex/test_kex.c
@@ -8,7 +8,9 @@
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>


--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits