*
*/
-#ifndef _PORTALS_LIB_H
-#define _PORTALS_LIB_H
+#ifndef __LIBCFS_PORTALS_LIB_H__
+#define __LIBCFS_PORTALS_LIB_H__
-#ifndef __KERNEL__
-# include <string.h>
-#else
-# include <asm/types.h>
+#if defined(__linux__)
+#include <libcfs/linux/portals_lib.h>
+#elif defined(__APPLE__)
+#include <libcfs/darwin/portals_lib.h>
+#else
+#error Unsupported Operating System
#endif
#undef MIN