use portable struct for stat

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1079177
This commit is contained in:
Kurt Hindenburg
2010-01-23 19:39:57 +00:00
parent fa4f0b85c7
commit 799c55e83c

View File

@@ -727,7 +727,7 @@ private:
int managementInfoBase[4];
size_t mibLength;
struct kinfo_proc* kInfoProc;
struct stat statInfo;
struct KDE_stat statInfo;
// Find the tty device of 'pid' (Example: /dev/ttys001)
managementInfoBase[0] = CTL_KERN;