Description:
 MAP_HUGETLB is Linux specific. Ignore when not available.
Author: Mattias Ellert <mattias.ellert@physics.uu.se>

diff -ur procps-4.0.6.orig/testsuite/ps.test/test-hugetlb.c procps-4.0.6/testsuite/ps.test/test-hugetlb.c
--- procps-4.0.6.orig/testsuite/ps.test/test-hugetlb.c	2026-01-29 10:48:26.000000000 +0100
+++ procps-4.0.6/testsuite/ps.test/test-hugetlb.c	2026-05-30 05:15:34.000000000 +0200
@@ -35,6 +35,10 @@
 #include <string.h>
 #include <sys/mman.h>
 
+#ifndef MAP_HUGETLB
+#define MAP_HUGETLB 0
+#endif
+
 #define LENGTH (2*1024*1024)
 
 void usage(const char *progname, const char *msg)
