From 8a63ecf127e7ee87716367ae7b2e19267e19d09f Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Mon, 1 Oct 2018 22:59:56 +0200 Subject: Avoid duplicating defines in config.h and on command line --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 5af472ff7..25119b43a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,6 +23,10 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#ifdef HAVE_CONFIG_H +# include "config.h" // only include where actually required! +#endif + // This has to be included prior to anything that includes setjmp.h, it croaks otherwise #include -- cgit v1.2.3