summaryrefslogtreecommitdiff
path: root/package/open-iscsi
diff options
context:
space:
mode:
Diffstat (limited to 'package/open-iscsi')
-rw-r--r--package/open-iscsi/patches/patch-usr_idbm_c10
-rw-r--r--package/open-iscsi/patches/patch-usr_mgmt_ipc_c4
2 files changed, 12 insertions, 2 deletions
diff --git a/package/open-iscsi/patches/patch-usr_idbm_c b/package/open-iscsi/patches/patch-usr_idbm_c
new file mode 100644
index 000000000..38838c9a1
--- /dev/null
+++ b/package/open-iscsi/patches/patch-usr_idbm_c
@@ -0,0 +1,10 @@
+--- open-iscsi-2.0-871.orig/usr/idbm.c 2009-07-11 05:55:58.000000000 +0200
++++ open-iscsi-2.0-871/usr/idbm.c 2014-01-03 12:44:20.000000000 +0100
+@@ -29,6 +29,7 @@
+ #include <limits.h>
+ #include <sys/stat.h>
+ #include <sys/file.h>
++#include <fcntl.h>
+
+ #include "idbm.h"
+ #include "idbm_fields.h"
diff --git a/package/open-iscsi/patches/patch-usr_mgmt_ipc_c b/package/open-iscsi/patches/patch-usr_mgmt_ipc_c
index bc29bd21b..d1d936e0f 100644
--- a/package/open-iscsi/patches/patch-usr_mgmt_ipc_c
+++ b/package/open-iscsi/patches/patch-usr_mgmt_ipc_c
@@ -1,6 +1,6 @@
--- open-iscsi-2.0-871.orig/usr/mgmt_ipc.c 2009-07-11 05:55:58.000000000 +0200
-+++ open-iscsi-2.0-871/usr/mgmt_ipc.c 2010-11-22 22:47:25.000000000 +0100
-@@ -341,31 +341,7 @@ mgmt_ipc_notify_del_portal(queue_task_t
++++ open-iscsi-2.0-871/usr/mgmt_ipc.c 2014-01-03 12:35:32.000000000 +0100
+@@ -341,31 +341,7 @@ mgmt_ipc_notify_del_portal(queue_task_t
static int
mgmt_peeruser(int sock, char *user)
{