diff options
author | Damien Miller <djm@mindrot.org> | 2015-02-24 09:04:32 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-02-24 09:04:32 +1100 |
commit | 9af21979c00652029e160295e988dea40758ece2 (patch) | |
tree | 7f869b75a0d9c60c8b6ba0804e378ced4ddaa11f | |
parent | 62f678dd51660d6f8aee1da33d3222c5de10a89e (diff) | |
download | openssh-git-9af21979c00652029e160295e988dea40758ece2.tar.gz |
don't include stdint.h unless HAVE_STDINT_H set
-rw-r--r-- | monitor.c | 2 | ||||
-rw-r--r-- | monitor_mm.c | 2 | ||||
-rw-r--r-- | xmalloc.c | 2 |
3 files changed, 6 insertions, 0 deletions
@@ -39,7 +39,9 @@ #endif #include <pwd.h> #include <signal.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif #include <stdlib.h> #include <string.h> #include <stdarg.h> diff --git a/monitor_mm.c b/monitor_mm.c index 50731527..aa47b2ed 100644 --- a/monitor_mm.c +++ b/monitor_mm.c @@ -35,7 +35,9 @@ #include <errno.h> #include <stdarg.h> #include <stddef.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif #include <stdlib.h> #include <string.h> @@ -16,7 +16,9 @@ #include "includes.h" #include <stdarg.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif #include <stdio.h> #include <stdlib.h> #include <string.h> |