]> git.saurik.com Git - wxWidgets.git/commitdiff
gcc 2.8.0/solaris compilation fix
authorKarsten Ballüder <ballueder@usa.net>
Thu, 11 Mar 1999 09:44:53 +0000 (09:44 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Thu, 11 Mar 1999 09:44:53 +0000 (09:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/utilsunx.cpp

index 4bc144272c84c4b92538308a39808e3145aab9a1..2d3aa7ebcb03cf14d16c7f256d16e04e7bdf088a 100644 (file)
@@ -342,7 +342,7 @@ bool wxGetHostName(char *buf, int sz)
 
     // we're using uname() which is POSIX instead of less standard sysinfo()
 #if defined(HAVE_UNAME)
-    utsname uts;
+    struct utsname uts;
     bool ok = uname(&uts) != -1;
     if ( ok )
     {