]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/baseunix.cpp
implement support for returning several elements at once from IEnumFORMATETC (part...
[wxWidgets.git] / src / unix / baseunix.cpp
index d28b5225c00c548c19c77b1dd14576048fe6c5f9..99a1bdcd3e8865ce636a921e5c60021ecbe41da6 100644 (file)
@@ -30,6 +30,7 @@
 #endif //WX_PRECOMP
 
 #include "wx/apptrait.h"
+#include "wx/utils.h"
 #include "wx/unix/execute.h"
 
 // for waitpid()
@@ -94,7 +95,7 @@ int wxConsoleAppTraits::GetOSVersion(int *verMaj, int *verMin)
     int major, minor;
     char name[256];
 
-    if ( sscanf(WXWIN_OS_DESCRIPTION, "%.255s %d.%d", name, &major, &minor) != 3 )
+    if ( sscanf(WXWIN_OS_DESCRIPTION, "%255s %d.%d", name, &major, &minor) != 3 )
     {
         // unreckognized uname string format
         major =