Description:
 O_PATH is a Linux extension. The corresponding extension on GNU/Hurd is O_NORW.
Author: Mattias Ellert <mattias.ellert@physics.uu.se>

--- procps-4.0.6.orig/library/readproc.c	2026-01-29 10:48:26.000000000 +0100
+++ procps-4.0.6/library/readproc.c	2026-05-30 06:56:10.000000000 +0200
@@ -61,6 +61,10 @@
 #define LEAVE(x)
 #endif
 
+#ifndef O_PATH
+#define O_PATH O_NORW
+#endif
+
 #ifdef FALSE_THREADS
 #define IS_THREAD(q) ( q->tid != q->tgid )
 #endif
