diff options
author | Darren Tucker <dtucker@zip.com.au> | 2015-02-23 03:07:24 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2015-02-23 03:07:24 +1100 |
commit | 37f9220db8d1a52c75894c3de1e5f2ae5bd71b6f (patch) | |
tree | 5f80fd1bcaa53dceb3a09e2e67ca0bd052c6f788 | |
parent | f81f1bbc5b892c8614ea740b1f92735652eb43f0 (diff) | |
download | openssh-git-37f9220db8d1a52c75894c3de1e5f2ae5bd71b6f.tar.gz |
Wrap stdint.h includes in ifdefs.
-rw-r--r-- | channels.c | 2 | ||||
-rw-r--r-- | openbsd-compat/reallocarray.c | 2 | ||||
-rw-r--r-- | sshbuf-misc.c | 2 |
3 files changed, 6 insertions, 0 deletions
@@ -57,7 +57,9 @@ #include <errno.h> #include <fcntl.h> #include <netdb.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/openbsd-compat/reallocarray.c b/openbsd-compat/reallocarray.c index cffe9b5e..1a52acc6 100644 --- a/openbsd-compat/reallocarray.c +++ b/openbsd-compat/reallocarray.c @@ -22,7 +22,9 @@ #include <sys/types.h> #include <errno.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif #include <stdlib.h> /* diff --git a/sshbuf-misc.c b/sshbuf-misc.c index e07e34a8..f1c2d03c 100644 --- a/sshbuf-misc.c +++ b/sshbuf-misc.c @@ -22,7 +22,9 @@ #include <netinet/in.h> #include <errno.h> #include <stdlib.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif #include <stdio.h> #include <limits.h> #include <string.h> |