summaryrefslogtreecommitdiff
path: root/src/google/heap-checker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/heap-checker.h')
-rw-r--r--src/google/heap-checker.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/google/heap-checker.h b/src/google/heap-checker.h
index 751eb9f..c0ee8a8 100644
--- a/src/google/heap-checker.h
+++ b/src/google/heap-checker.h
@@ -51,10 +51,12 @@
#ifndef BASE_HEAP_CHECKER_H_
#define BASE_HEAP_CHECKER_H_
-#include "config.h"
-
#include <sys/types.h> // for size_t
-#ifdef HAVE_STDINT_H
+// I can't #include config.h in this public API file, but I should
+// really use configure (and make malloc_extension.h a .in file) to
+// figure out if the system has stdint.h or not. But I'm lazy, so
+// for now I'm assuming it's a problem only with MSVC.
+#ifndef _MSC_VER
#include <stdint.h> // for uintptr_t
#endif
#include <stdarg.h> // for va_list