aboutsummaryrefslogtreecommitdiff
path: root/common/gameDetector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/gameDetector.cpp')
-rw-r--r--common/gameDetector.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp
index a45ed45d0d..2d4dafb226 100644
--- a/common/gameDetector.cpp
+++ b/common/gameDetector.cpp
@@ -27,6 +27,10 @@
#include "config-file.h"
#include "scaler.h" // Only for gfx_modes
+#if defined(HAVE_CONFIG_H)
+#include "config.h"
+#endif
+
#define CHECK_OPTION() if ((current_option != NULL) || (*s != '\0')) goto ShowHelpAndExit
#define HANDLE_OPTION() if ((*s == '\0') && (current_option == NULL)) goto ShowHelpAndExit; \
if ((*s != '\0') && (current_option != NULL)) goto ShowHelpAndExit; \