-#if defined(__linux__)
-#include <linux/lustre_handles.h>
-#elif defined(__APPLE__)
-#include <darwin/lustre_handles.h>
-#elif defined(__WINNT__)
-#include <winnt/lustre_handles.h>
-#else
-#error Unsupported operating system.
-#endif
+/** \defgroup handles handles
+ *
+ * @{
+ */
+
+#include <linux/rcupdate.h>
+#include <linux/spinlock.h>
+#include <libcfs/libcfs.h>