]> git.proxmox.com Git - mirror_spl-debian.git/blobdiff - include/sys/types.h
Breaking the world for a little bit. If anyone is going to continue
[mirror_spl-debian.git] / include / sys / types.h
index dc660a761de1b16e08dfb49912952d5a7d69f80f..c2ad9837dce614f35783f7f52ad2807b9e3a9679 100644 (file)
@@ -7,9 +7,17 @@ extern "C" {
 
 #include <linux/types.h>
 #include <sys/sysmacros.h>
+#include "spl_config.h"
 
-typedef enum { B_FALSE=0, B_TRUE=1 }   boolean_t;
+#ifndef HAVE_UINTPTR_T
 typedef unsigned long                  uintptr_t;
+#endif
+
+#ifndef HAVE_KMEM_CACHE_T
+typedef struct kmem_cache              kmem_cache_t;
+#endif
+
+typedef enum { B_FALSE=0, B_TRUE=1 }   boolean_t;
 typedef unsigned long                  intptr_t;
 typedef unsigned long                  ulong_t;
 typedef unsigned int                   uint_t;