diff --git a/contrib/modules/pgsql_test/src/pgsql_test.c b/contrib/modules/pgsql_test/src/pgsql_test.c index 9966c3b..c75e583 100644 --- a/contrib/modules/pgsql_test/src/pgsql_test.c +++ b/contrib/modules/pgsql_test/src/pgsql_test.c @@ -16,7 +16,7 @@ #include "kore.h" #include "http.h" -#include "contrib/postgres/kore_pgsql.h" +#include "kore_pgsql.h" #include "static.h" diff --git a/contrib/postgres/kore_pgsql.c b/contrib/postgres/kore_pgsql.c index 0a37bd6..c50db06 100644 --- a/contrib/postgres/kore_pgsql.c +++ b/contrib/postgres/kore_pgsql.c @@ -21,7 +21,7 @@ #include "kore.h" #include "http.h" -#include "contrib/postgres/kore_pgsql.h" +#include "kore_pgsql.h" struct pgsql_job { u_int8_t idx; diff --git a/includes/contrib/postgres/kore_pgsql.h b/includes/kore_pgsql.h similarity index 100% rename from includes/contrib/postgres/kore_pgsql.h rename to includes/kore_pgsql.h diff --git a/src/bsd.c b/src/bsd.c index e1cf9de..5df80e1 100644 --- a/src/bsd.c +++ b/src/bsd.c @@ -18,13 +18,13 @@ #include #ifdef __MACH__ - #include +#include #endif #include "kore.h" #if defined(KORE_USE_PGSQL) -#include "contrib/postgres/kore_pgsql.h" +#include "kore_pgsql.h" #endif static int kfd = -1; diff --git a/src/http.c b/src/http.c index bb7b461..60177ae 100644 --- a/src/http.c +++ b/src/http.c @@ -24,7 +24,7 @@ #include "http.h" #if defined(KORE_USE_PGSQL) -#include "contrib/postgres/kore_pgsql.h" +#include "kore_pgsql.h" #endif #if defined(KORE_USE_TASKS) diff --git a/src/linux.c b/src/linux.c index 912200d..f1f6644 100644 --- a/src/linux.c +++ b/src/linux.c @@ -22,7 +22,7 @@ #include "kore.h" #if defined(KORE_USE_PGSQL) -#include "contrib/postgres/kore_pgsql.h" +#include "kore_pgsql.h" #endif #if defined(KORE_USE_TASKS) diff --git a/src/worker.c b/src/worker.c index d7d1071..8574070 100644 --- a/src/worker.c +++ b/src/worker.c @@ -26,7 +26,7 @@ #include "http.h" #if defined(KORE_USE_PGSQL) -#include "contrib/postgres/kore_pgsql.h" +#include "kore_pgsql.h" #endif #if defined(KORE_USE_TASKS)