ccnet fix building after libdb

This commit is contained in:
its-pointless 2020-01-20 07:54:30 +11:00 committed by Henrik Grimler
parent 4cf817a3a5
commit 7808db2329
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- ./net/common/ccnet-config.h.orig 2020-01-19 20:33:55.463089854 +0000
+++ ./net/common/ccnet-config.h 2020-01-19 20:34:02.763214014 +0000
@@ -4,7 +4,7 @@
#define SEAFILE_CONFIG_H
#include "session.h"
-#include "db.h"
+#include "../../lib/db.h"
/*
* Returns: config value in string. The string should be freed by caller.

View File

@ -0,0 +1,11 @@
--- ./net/common/ccnet-db.h.orig 2020-01-19 20:35:46.504992486 +0000
+++ ./net/common/ccnet-db.h 2020-01-19 20:36:10.155403556 +0000
@@ -3,7 +3,7 @@
#ifndef CCNET_DB_H
#define CCNET_DB_H
-#include "db.h"
+#include "../../lib/db.h"
#ifdef CCNET_SERVER