summaryrefslogtreecommitdiff
path: root/src/bio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bio.h')
-rw-r--r--src/bio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bio.h b/src/bio.h
index 4b15d1c4d..6c2155941 100644
--- a/src/bio.h
+++ b/src/bio.h
@@ -27,6 +27,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef __BIO_H
+#define __BIO_H
+
/* Exported API */
void bioInit(void);
void bioCreateBackgroundJob(int type, void *arg1, void *arg2, void *arg3);
@@ -40,3 +43,5 @@ void bioKillThreads(void);
#define BIO_AOF_FSYNC 1 /* Deferred AOF fsync. */
#define BIO_LAZY_FREE 2 /* Deferred objects freeing. */
#define BIO_NUM_OPS 3
+
+#endif