summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--monitor.c2
-rw-r--r--monitor_mm.c2
-rw-r--r--xmalloc.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 4f9c9fed6..bab6ce87e 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 50731527c..aa47b2ed5 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 fe266cc46..cd59dc2e5 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>