summaryrefslogtreecommitdiffstats
path: root/sal/osl/unx/process.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/process.cxx')
-rw-r--r--sal/osl/unx/process.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/osl/unx/process.cxx b/sal/osl/unx/process.cxx
index 41d6de0b04ea..d479e0d40cfc 100644
--- a/sal/osl/unx/process.cxx
+++ b/sal/osl/unx/process.cxx
@@ -788,6 +788,8 @@ void SAL_CALL osl_freeProcessHandle(oslProcess Process)
}
#if defined(LINUX)
+namespace {
+
struct osl_procStat
{
/* from 'stat' */
@@ -848,6 +850,8 @@ struct osl_procStat
unsigned long vm_lib; /* library size */
};
+}
+
static bool osl_getProcStat(pid_t pid, struct osl_procStat* procstat)
{
int fd = 0;