johnbintz/jasmine-headless-webkit — pull request #177 by jeremy-brenner (2013-03-15 16:28:00+00:00)
Title: Qt 4.8 fix

Just a compiler directive to include getopt.h when qt version > 4.8. Fixes specrunner compile issues on newer qt versions:

specrunner.cpp: In function ‘int main(int, char**)’:
specrunner.cpp:37:39: error: ‘getopt’ was not declared in this scope
specrunner.cpp:43:20: error: ‘optarg’ was not declared in this scope
specrunner.cpp:48:7: error: ‘optind’ was not declared in this scope
specrunner.cpp:61:16: error: ‘optind’ was not declared in this scope
make: *** [specrunner.o] Error 1

If you could merge it would be superfantastic (and possibly help land me a job) :)