X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lnet%2Fselftest%2Fselftest.h;h=485570bffb61d26d4877426b8fcb559bc1cd7a75;hb=c1f6b32958c799412c830f35f8d16ed7275407ea;hp=dd977265a4d480ca3cc453ed203898b218223c1e;hpb=137772471db1dac4f44207117be860bf53ac313f;p=fs%2Flustre-release.git diff --git a/lnet/selftest/selftest.h b/lnet/selftest/selftest.h index dd97726..485570b 100644 --- a/lnet/selftest/selftest.h +++ b/lnet/selftest/selftest.h @@ -11,6 +11,10 @@ #define LNET_ONLY #ifndef __KERNEL__ +/* XXX workaround XXX */ +#ifdef HAVE_SYS_TYPES_H +#include +#endif #include /* userland spinlock_t and atomic_t */ #endif #include