summaryrefslogblamecommitdiff
path: root/user/nvme-cli/add-limits.patch
blob: d62718199798bec9a103677f069f95f238c3b753 (plain) (tree)


















                                      
--- 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"