libzfcphbaapi0/fix-build-errors.patch

22 lines
735 B
Diff
Raw Normal View History

--- lib-zfcp-hbaapi-2.1.1.orig/fc_tools/zfcp_ping.c 2013-12-07 10:29:58.000000000 -0700
+++ lib-zfcp-hbaapi-2.1.1/fc_tools/zfcp_ping.c 2014-01-24 01:12:39.289462000 -0700
@@ -13,6 +13,7 @@
#include <signal.h>
#include <hbaapi.h>
#include <errno.h>
+#include <sys/time.h>
#include "include/zfcp_util.h"
#define FC_PNG_REV 0x00000001
--- lib-zfcp-hbaapi-2.1.1.orig/vlib_events.c 2013-12-07 10:29:58.000000000 -0700
+++ lib-zfcp-hbaapi-2.1.1/vlib_events.c 2014-01-24 01:17:48.569992000 -0700
@@ -200,7 +200,7 @@ static void dispatch_event(struct nlmsgh
process_event(fc_nle);
}
-static void *establish_listener()
+static void establish_listener()
{
struct msghdr msg;
struct sockaddr_nl src_addr, dest_addr;