From bfd8c1fdd2218c0c4d965338291b084a9ff52ec9 Mon Sep 17 00:00:00 2001 From: Daniel Dai <764122422@qq.com> Date: Wed, 20 Nov 2019 20:18:00 -0500 Subject: macro fix macro fix --- src/bio.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/bio.h') 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 -- cgit v1.2.1