aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/CMakeLists.txt2
-rw-r--r--client/cmd.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt
index 57a2447..50d3cd7 100644
--- a/client/CMakeLists.txt
+++ b/client/CMakeLists.txt
@@ -11,6 +11,7 @@ add_compile_definitions(DEBUG)
project(puzzlebox_client C CXX)
include(../i2ctcp/include.cmake)
+include(../shared/include.cmake)
add_executable(pbc
main.cpp
@@ -23,6 +24,7 @@ add_executable(pbc
target_link_libraries(pbc
i2ctcp
+ puzbus
mpack
readline # this is such a common library that I did not bother adding it as a submodule
)
diff --git a/client/cmd.cpp b/client/cmd.cpp
index a6242af..b7adfae 100644
--- a/client/cmd.cpp
+++ b/client/cmd.cpp
@@ -5,11 +5,12 @@
#include "cmd.h"
#include "i2ctcpv1.h"
+#include "pb/types.h"
#include "rl.h"
#include "sock.h"
#include "parse.h"
-#include "../shared/puzbus.h"
+#include "pb/bus.h"
char* consume_token(char* input, const char* ifs) {
strtok(input, ifs);