Skip to content
Snippets Groups Projects
Commit d16b71dc authored by Walter Poxon's avatar Walter Poxon
Browse files

b=14091

i=he.huang
i=adilger

fix for build errors on Cray catamount builds
parent 2e410340
No related branches found
No related tags found
No related merge requests found
......@@ -858,6 +858,7 @@ lnet_count_acceptor_nis (lnet_ni_t **first_ni)
* *first_ni so the acceptor can pass it connections "blind" to retain
* binary compatibility. */
int count = 0;
#if defined(__KERNEL__) || defined(HAVE_LIBPTHREAD)
struct list_head *tmp;
lnet_ni_t *ni;
......@@ -876,6 +877,8 @@ lnet_count_acceptor_nis (lnet_ni_t **first_ni)
}
LNET_UNLOCK();
#endif /* defined(__KERNEL__) || defined(HAVE_LIBPTHREAD) */
return count;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment