merge 1099510 from 4.4: test for sys/proc_info.h and sys/proc.h

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1099511
This commit is contained in:
Benjamin Reed
2010-03-05 17:56:08 +00:00
parent 2f3875f7c5
commit 459a5cda2f
3 changed files with 13 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
// Own
#include "ProcessInfo.h"
#include "config-konsole.h"
// Unix
#include <sys/socket.h>
@@ -42,8 +43,12 @@
#if defined(Q_OS_MAC)
#include <sys/sysctl.h>
#ifdef HAVE_SYS_PROC_INFO_H
#include <sys/proc_info.h>
#endif
#ifdef HAVE_SYS_PROC_H
#include <sys/proc.h>
#endif
#include <kde_file.h>
#endif