summaryrefslogtreecommitdiff
path: root/device/buf.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/buf.h')
-rw-r--r--device/buf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/device/buf.h b/device/buf.h
index 80466c8..806eb8d 100644
--- a/device/buf.h
+++ b/device/buf.h
@@ -30,6 +30,9 @@
* Definitions to make new IO structures look like old ones
*/
+#ifndef _DEVICE_BUF_H_
+#define _DEVICE_BUF_H_
+
/*
* io_req and fields
*/
@@ -100,3 +103,5 @@ extern void minphys(io_req_t);
*/
#define biodone iodone
#define biowait iowait
+
+#endif /* _DEVICE_BUF_H_ */