summaryrefslogtreecommitdiff
path: root/include/iscsi_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/iscsi_proto.h')
-rw-r--r--include/iscsi_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/iscsi_proto.h b/include/iscsi_proto.h
index 0225ef3..d1e0589 100644
--- a/include/iscsi_proto.h
+++ b/include/iscsi_proto.h
@@ -21,7 +21,9 @@
#ifndef ISCSI_PROTO_H
#define ISCSI_PROTO_H
+#ifndef __KERNEL__
#include <stdint.h>
+#endif
#include <linux/types.h>
#define ISCSI_DRAFT20_VERSION 0x00