aboutsummaryrefslogtreecommitdiff
path: root/src/tools/linux/core_handler/core_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/linux/core_handler/core_handler.cc')
-rw-r--r--src/tools/linux/core_handler/core_handler.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/linux/core_handler/core_handler.cc b/src/tools/linux/core_handler/core_handler.cc
index 224073d3..8a1d9766 100644
--- a/src/tools/linux/core_handler/core_handler.cc
+++ b/src/tools/linux/core_handler/core_handler.cc
@@ -28,6 +28,10 @@
// core_handler.cc: A tool to handle coredumps on Linux
+#ifdef HAVE_CONFIG_H
+#include <config.h> // Must come first
+#endif
+
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>