From 9af21979c00652029e160295e988dea40758ece2 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 24 Feb 2015 09:04:32 +1100 Subject: [PATCH] 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 4f9c9fed6..bab6ce87e 100644 --- a/monitor.c +++ b/monitor.c @@ -39,7 +39,9 @@ #endif #include #include +#ifdef HAVE_STDINT_H #include +#endif #include #include #include diff --git a/monitor_mm.c b/monitor_mm.c index 50731527c..aa47b2ed5 100644 --- a/monitor_mm.c +++ b/monitor_mm.c @@ -35,7 +35,9 @@ #include #include #include +#ifdef HAVE_STDINT_H #include +#endif #include #include diff --git a/xmalloc.c b/xmalloc.c index fe266cc46..cd59dc2e5 100644 --- a/xmalloc.c +++ b/xmalloc.c @@ -16,7 +16,9 @@ #include "includes.h" #include +#ifdef HAVE_STDINT_H #include +#endif #include #include #include