--- src/slurmd/slurmd/slurmd.h.orig	2023-12-13 21:49:39 UTC
+++ src/slurmd/slurmd/slurmd.h
@@ -43,6 +43,7 @@
 #include <limits.h>
 #include <pthread.h>
 #include <sys/types.h>
+#include <limits.h>
 
 #include "src/common/log.h"
 #include "src/common/list.h"
