1 #ifndef __LIBCFS_DARWIN_PORTALS_UTILS_H__
2 #define __LIBCFS_DARWIN_PORTALS_UTILS_H__
4 #ifndef __LIBCFS_PORTALS_UTILS_H__
5 #error Do not #include this file directly. #include <libcfs/portals_utils.h> instead
8 #include <libcfs/list.h>
10 #include <mach/mach_types.h>
11 #include <libcfs/libcfs.h>
12 #else /* !__KERNEL__ */
13 #include <machine/endian.h>
14 #include <netinet/in.h>
15 #include <sys/syscall.h>
16 #endif /* !__KERNEL__ */