summaryrefslogtreecommitdiffstats
path: root/src/prefix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefix.cpp')
-rw-r--r--src/prefix.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/prefix.cpp b/src/prefix.cpp
index 7ba6d16f4..107badd90 100644
--- a/src/prefix.cpp
+++ b/src/prefix.cpp
@@ -23,13 +23,12 @@
* --> expands br_locate to foobar_br_locate
*/
-#ifndef _PREFIX_C_
-#define _PREFIX_C_
-
#ifdef HAVE_CONFIG_H
-#include <config.h>
+# include "config.h" // only include where actually required!
#endif
+#ifndef _PREFIX_C_
+#define _PREFIX_C_
#include <glib.h>
#include <cstdlib>