summaryrefslogtreecommitdiff
path: root/minecproxy
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-07-01 17:06:54 +0200
committerDavid Härdeman <david@hardeman.nu>2020-07-01 17:06:54 +0200
commit829ea0768672dad977ddeb30dd5e2b254bb4a4e9 (patch)
tree4dd2d89ff5ee68416f1d08134a0c46ba7aacffe2 /minecproxy
parentdc93ade1436f619a90a9eee7d98ff91ecaccb6ab (diff)
Change include configuration for shared directory to make header includes clearer
Diffstat (limited to 'minecproxy')
-rw-r--r--minecproxy/idle.c2
-rw-r--r--minecproxy/main.c2
-rw-r--r--minecproxy/main.h2
-rw-r--r--minecproxy/misc.h2
-rw-r--r--minecproxy/server-config.c2
-rw-r--r--minecproxy/server-rcon.c2
-rw-r--r--minecproxy/server.c2
-rw-r--r--minecproxy/server.h2
8 files changed, 8 insertions, 8 deletions
diff --git a/minecproxy/idle.c b/minecproxy/idle.c
index 3269a89..e237533 100644
--- a/minecproxy/idle.c
+++ b/minecproxy/idle.c
@@ -11,7 +11,7 @@
#include "server.h"
#include "idle.h"
#include "ptimer.h"
-#include "mc-protocol.h"
+#include "shared/mc-protocol.h"
struct idle {
struct ptimer_task ptask;
diff --git a/minecproxy/main.c b/minecproxy/main.c
index 92961e2..6a02531 100644
--- a/minecproxy/main.c
+++ b/minecproxy/main.c
@@ -19,7 +19,7 @@
#include "main.h"
#include "signal-handler.h"
#include "uring.h"
-#include "config-parser.h"
+#include "shared/config-parser.h"
#include "server.h"
#include "server-config.h"
#include "announce.h"
diff --git a/minecproxy/main.h b/minecproxy/main.h
index c46169a..b49cd72 100644
--- a/minecproxy/main.h
+++ b/minecproxy/main.h
@@ -8,7 +8,7 @@ struct cfg;
struct uring_task;
#include "misc.h"
-#include "utils.h"
+#include "shared/utils.h"
extern struct cfg *cfg;
extern bool exiting;
diff --git a/minecproxy/misc.h b/minecproxy/misc.h
index 70b84c7..559c1d7 100644
--- a/minecproxy/misc.h
+++ b/minecproxy/misc.h
@@ -7,7 +7,7 @@
#include <stdlib.h>
#include <linux/if_packet.h>
-#include "utils.h"
+#include "shared/utils.h"
void debug_resource_usage();
diff --git a/minecproxy/server-config.c b/minecproxy/server-config.c
index aab9ffb..9d79af7 100644
--- a/minecproxy/server-config.c
+++ b/minecproxy/server-config.c
@@ -11,7 +11,7 @@
#include "main.h"
#include "uring.h"
-#include "config-parser.h"
+#include "shared/config-parser.h"
#include "server.h"
#include "server-config.h"
#include "config.h"
diff --git a/minecproxy/server-rcon.c b/minecproxy/server-rcon.c
index 9ae49ef..1f3acfa 100644
--- a/minecproxy/server-rcon.c
+++ b/minecproxy/server-rcon.c
@@ -14,7 +14,7 @@
#include "uring.h"
#include "server.h"
#include "server-rcon.h"
-#include "rcon-protocol.h"
+#include "shared/rcon-protocol.h"
static int rcon_packet_complete(struct uring_task *task, _unused_ int res)
{
diff --git a/minecproxy/server.c b/minecproxy/server.c
index 13396ef..84a50ee 100644
--- a/minecproxy/server.c
+++ b/minecproxy/server.c
@@ -17,7 +17,7 @@
#include "server-config.h"
#include "server-proxy.h"
#include "server-rcon.h"
-#include "config-parser.h"
+#include "shared/config-parser.h"
#include "idle.h"
#include "systemd.h"
diff --git a/minecproxy/server.h b/minecproxy/server.h
index 6545903..da2a336 100644
--- a/minecproxy/server.h
+++ b/minecproxy/server.h
@@ -1,7 +1,7 @@
#ifndef fooserverhfoo
#define fooserverhfoo
-#include "config-parser.h"
+#include "shared/config-parser.h"
/* clang-format off */
enum server_state {