Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.

Commit 36612a9

Browse files
committed
add sys/types to compile on mac
1 parent 558c04d commit 36612a9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

sync_engine/src/CDeps/sqlite_dump.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <assert.h>
55
#include <unistd.h>
66
#include <pthread.h>
7+
#include <sys/types.h>
78

89
#include "../../../redisql_lib/src/CDeps/SQLite/include/sqlite3.h"
910

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include <sys/types.h>
2+
13
int start(sqlite3* db);
24
ssize_t read_from_pipe(int pipefd_read_end, void* buffer, ssize_t nbytes);
35
int close_read_pipe(int pipefd_read_end);

0 commit comments

Comments
 (0)