Whamcloud - gitweb
b=19856
authornathan <nathan>
Wed, 29 Jul 2009 18:05:48 +0000 (18:05 +0000)
committernathan <nathan>
Wed, 29 Jul 2009 18:05:48 +0000 (18:05 +0000)
fix stub fn dependencies

libcfs/libcfs/ulinux/ulinux-kernelcomm.c

index 8d84316..d4abdc1 100644 (file)
@@ -162,13 +162,17 @@ int libcfs_ulnl_msg_free(struct lnl_hdr **lnlhh)
 }
 
 #else /* HAVE_NETLINK */
+
+#include <errno.h>
+
+typedef int lustre_netlink;
 int libcfs_ulnl_start(lustre_netlink *link, int groups) {
         return -ENOSYS;
 }
 int libcfs_ulnl_stop(lustre_netlink *link) {
         return 0;
 }
-
+struct lnl_hdr;
 int libcfs_ulnl_msg_get(lustre_netlink *link, int maxsize, int transport,
                         struct lnl_hdr **lnlhh) {
         return -ENOSYS;