summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2021-09-27 13:13:13 +1000
committerNathan Scott <nathans@redhat.com>2021-09-27 13:13:13 +1000
commit6f751d5929afd45c4ffa59c2c65f906d6313cc8c (patch)
tree79c6210e22daae21371a0ab639f67bd09b3f8904
parent754c0d6bb98e8dbe412ad149717e26e07c57c5e7 (diff)
parenta710deeaa7a806771283949b3557e9945521b659 (diff)
Merge branch 'o_path' of https://github.com/cgzones/htop into cgzones-o_path
-rw-r--r--linux/LinuxProcessList.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c
index 38c5d3e0..bd80ae8b 100644
--- a/linux/LinuxProcessList.c
+++ b/linux/LinuxProcessList.c
@@ -58,6 +58,10 @@ in the source distribution for its full text.
#include "LibSensors.h"
#endif
+#ifndef O_PATH
+#define O_PATH 010000000 // declare for ancient glibc versions
+#endif
+
static long long btime = -1;

© 2014-2024 Faster IT GmbH | imprint | privacy policy