summaryrefslogtreecommitdiffstats
path: root/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/heap.cpp4
-rw-r--r--src/debug/sysv-heap.cpp2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/debug/heap.cpp b/src/debug/heap.cpp
index 0135a9ceb..d543a18f6 100644
--- a/src/debug/heap.cpp
+++ b/src/debug/heap.cpp
@@ -9,10 +9,6 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#include "inkgc/gc-alloc.h"
#include "debug/gc-heap.h"
#include "debug/sysv-heap.h"
diff --git a/src/debug/sysv-heap.cpp b/src/debug/sysv-heap.cpp
index 5cc06d619..2731a931e 100644
--- a/src/debug/sysv-heap.cpp
+++ b/src/debug/sysv-heap.cpp
@@ -10,7 +10,7 @@
*/
#ifdef HAVE_CONFIG_H
-# include "config.h"
+# include "config.h" // only include where actually required!
#endif
#ifdef HAVE_MALLOC_H