iscsi-initiator-utils/iscsi-initiator-utils-fix-compile-err-include-limits.patch
2008-02-06 22:22:33 +00:00

23 lines
768 B
Diff

diff -aurp open-iscsi-2.0-868-test1/usr/idbm.c open-iscsi-2.0-868-test1.work/usr/idbm.c
--- open-iscsi-2.0-868-test1/usr/idbm.c 2008-01-03 13:23:36.000000000 -0600
+++ open-iscsi-2.0-868-test1.work/usr/idbm.c 2008-02-06 15:23:10.000000000 -0600
@@ -26,6 +26,7 @@
#include <string.h>
#include <errno.h>
#include <dirent.h>
+#include <limits.h>
#include <sys/stat.h>
#include <sys/file.h>
diff -aurp open-iscsi-2.0-868-test1/usr/list.h open-iscsi-2.0-868-test1.work/usr/list.h
--- open-iscsi-2.0-868-test1/usr/list.h 2008-01-03 13:23:36.000000000 -0600
+++ open-iscsi-2.0-868-test1.work/usr/list.h 2008-02-06 16:19:27.000000000 -0600
@@ -1,6 +1,7 @@
#ifndef __LIST_H__
#define __LIST_H__
+#include <stddef.h>
/* taken from linux kernel */
#undef offsetof