diff options
Diffstat (limited to 'user/nvme-cli/add-limits.patch')
-rw-r--r-- | user/nvme-cli/add-limits.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/user/nvme-cli/add-limits.patch b/user/nvme-cli/add-limits.patch new file mode 100644 index 000000000..d62718199 --- /dev/null +++ b/user/nvme-cli/add-limits.patch @@ -0,0 +1,20 @@ +--- 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" |