From c1e786f3c59e031b2f2e1bedfac7547ab2aca11c Mon Sep 17 00:00:00 2001 From: Jeremy Brenner Date: Fri, 15 Mar 2013 11:23:50 -0500 Subject: [PATCH] Added compiler directive to include getopt.h on qt versions >= 4.8 --- ext/jasmine-webkit-specrunner/specrunner.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/jasmine-webkit-specrunner/specrunner.cpp b/ext/jasmine-webkit-specrunner/specrunner.cpp index 9f961d7..e6c4877 100644 --- a/ext/jasmine-webkit-specrunner/specrunner.cpp +++ b/ext/jasmine-webkit-specrunner/specrunner.cpp @@ -23,6 +23,10 @@ #include "Runner.h" +#if QT_VERSION >= QT_VERSION_CHECK(4, 8, 0) +#include +#endif + #if QT_VERSION < QT_VERSION_CHECK(4, 7, 0) #error Use Qt 4.7 or later version #endif