--- nvme-cli-1.14.orig/nvme-rpmb.c +++ nvme-cli-1.14/nvme-rpmb.c @@ -25,6 +25,7 @@ #include <sys/socket.h> #include <linux/if_alg.h> #include <linux/socket.h> +#include <limits.h> #include "nvme.h" #include "nvme-print.h" --- nvme-cli-1.14.orig/nvme-topology.c +++ nvme-cli-1.14/nvme-topology.c @@ -5,6 +5,7 @@ #include <fcntl.h> #include <sys/stat.h> #include <sys/mman.h> +#include <limits.h> #include "nvme.h" #include "nvme-ioctl.h"