From 37f9220db8d1a52c75894c3de1e5f2ae5bd71b6f Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 23 Feb 2015 03:07:24 +1100 Subject: Wrap stdint.h includes in ifdefs. --- channels.c | 2 ++ openbsd-compat/reallocarray.c | 2 ++ sshbuf-misc.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/channels.c b/channels.c index 86c454ab5..9486c1cff 100644 --- a/channels.c +++ b/channels.c @@ -57,7 +57,9 @@ #include #include #include +#ifdef HAVE_STDINT_H #include +#endif #include #include #include diff --git a/openbsd-compat/reallocarray.c b/openbsd-compat/reallocarray.c index cffe9b5ef..1a52acc62 100644 --- a/openbsd-compat/reallocarray.c +++ b/openbsd-compat/reallocarray.c @@ -22,7 +22,9 @@ #include #include +#ifdef HAVE_STDINT_H #include +#endif #include /* diff --git a/sshbuf-misc.c b/sshbuf-misc.c index e07e34a8a..f1c2d03c9 100644 --- a/sshbuf-misc.c +++ b/sshbuf-misc.c @@ -22,7 +22,9 @@ #include #include #include +#ifdef HAVE_STDINT_H #include +#endif #include #include #include -- cgit v1.2.3