summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2015-02-23 03:07:24 +1100
committerDarren Tucker <dtucker@zip.com.au>2015-02-23 03:07:24 +1100
commit37f9220db8d1a52c75894c3de1e5f2ae5bd71b6f (patch)
tree5f80fd1bcaa53dceb3a09e2e67ca0bd052c6f788
parentf81f1bbc5b892c8614ea740b1f92735652eb43f0 (diff)
Wrap stdint.h includes in ifdefs.
-rw-r--r--channels.c2
-rw-r--r--openbsd-compat/reallocarray.c2
-rw-r--r--sshbuf-misc.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/channels.c b/channels.c
index 86c454ab5..9486c1cff 100644
--- a/channels.c
+++ b/channels.c
@@ -57,7 +57,9 @@
57#include <errno.h> 57#include <errno.h>
58#include <fcntl.h> 58#include <fcntl.h>
59#include <netdb.h> 59#include <netdb.h>
60#ifdef HAVE_STDINT_H
60#include <stdint.h> 61#include <stdint.h>
62#endif
61#include <stdio.h> 63#include <stdio.h>
62#include <stdlib.h> 64#include <stdlib.h>
63#include <string.h> 65#include <string.h>
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 @@
22 22
23#include <sys/types.h> 23#include <sys/types.h>
24#include <errno.h> 24#include <errno.h>
25#ifdef HAVE_STDINT_H
25#include <stdint.h> 26#include <stdint.h>
27#endif
26#include <stdlib.h> 28#include <stdlib.h>
27 29
28/* 30/*
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 @@
22#include <netinet/in.h> 22#include <netinet/in.h>
23#include <errno.h> 23#include <errno.h>
24#include <stdlib.h> 24#include <stdlib.h>
25#ifdef HAVE_STDINT_H
25#include <stdint.h> 26#include <stdint.h>
27#endif
26#include <stdio.h> 28#include <stdio.h>
27#include <limits.h> 29#include <limits.h>
28#include <string.h> 30#include <string.h>