summaryrefslogtreecommitdiff
path: root/package/open-iscsi/patches/patch-usr_log_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/open-iscsi/patches/patch-usr_log_h')
-rw-r--r--package/open-iscsi/patches/patch-usr_log_h17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/open-iscsi/patches/patch-usr_log_h b/package/open-iscsi/patches/patch-usr_log_h
new file mode 100644
index 000000000..f4a5f9431
--- /dev/null
+++ b/package/open-iscsi/patches/patch-usr_log_h
@@ -0,0 +1,17 @@
+--- open-iscsi-2.0-871.orig/usr/log.h 2009-07-11 05:55:58.000000000 +0200
++++ open-iscsi-2.0-871/usr/log.h 2010-11-22 22:45:22.000000000 +0100
+@@ -28,14 +28,12 @@
+
+ #include "iscsid.h"
+
+-#if defined(Linux)
+ union semun {
+ int val;
+ struct semid_ds *buf;
+ unsigned short int *array;
+ struct seminfo *__buf;
+ };
+-#endif
+ #include <sys/sem.h>
+
+ #define DEFAULT_AREA_SIZE 16384