[openssh-commits] [openssh] 01/01: don't include stdint.h unless HAVE_STDINT_H set

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Feb 24 09:05:05 AEDT 2015


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 9af21979c00652029e160295e988dea40758ece2
Author: Damien Miller <djm at mindrot.org>
Date:   Tue Feb 24 09:04:32 2015 +1100

    don't include stdint.h unless HAVE_STDINT_H set
---
 monitor.c    | 2 ++
 monitor_mm.c | 2 ++
 xmalloc.c    | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/monitor.c b/monitor.c
index 4f9c9fe..bab6ce8 100644
--- a/monitor.c
+++ b/monitor.c
@@ -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 5073152..aa47b2e 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>
 
diff --git a/xmalloc.c b/xmalloc.c
index fe266cc..cd59dc2 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -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>

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list