forked from pool/open-iscsi
69f15689a3
Fix build with new glibc. OBS-URL: https://build.opensuse.org/request/show/72748 OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=9
14 lines
360 B
Diff
14 lines
360 B
Diff
Index: open-iscsi-2.0-870-rc1/usr/iscsi_sysfs.c
|
|
===================================================================
|
|
--- open-iscsi-2.0-870-rc1.orig/usr/iscsi_sysfs.c
|
|
+++ open-iscsi-2.0-870-rc1/usr/iscsi_sysfs.c
|
|
@@ -22,6 +22,8 @@
|
|
#include <string.h>
|
|
#include <errno.h>
|
|
#include <dirent.h>
|
|
+#include <sys/stat.h>
|
|
+
|
|
|
|
#include "log.h"
|
|
#include "initiator.h"
|