X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInput%2FFGLinuxEventInput.cxx;h=03e7e05817ee7629d742810516ce84a6bfabd211;hb=d0a2fbba990c07608b813fa026126fe7ce52c552;hp=183c7b3ab805c319b84bee27b0c3de372d611ac6;hpb=0cdb9d4efb249dd85b7e56d1885d8183de231373;p=flightgear.git diff --git a/src/Input/FGLinuxEventInput.cxx b/src/Input/FGLinuxEventInput.cxx index 183c7b3ab..03e7e0581 100644 --- a/src/Input/FGLinuxEventInput.cxx +++ b/src/Input/FGLinuxEventInput.cxx @@ -24,11 +24,15 @@ # include #endif -#include "FGLinuxEventInput.hxx" - +#include +#include +#include #include #include #include +#include +#include "FGLinuxEventInput.hxx" + struct TypeCode { unsigned type; @@ -238,7 +242,7 @@ static EventNameByType EVENT_NAME_BY_TYPE; struct ltstr { bool operator()(const char * s1, const char * s2 ) const { - return strcmp( s1, s2 ) < 0; + return string(s1).compare( s2 ) < 0; } };