aboutsummaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-06-24 17:07:08 -0400
committerRob Austein <sra@hactrn.net>2016-06-24 17:07:08 -0400
commitdcc90e02ed381767a028638af9ead9b1e3477d34 (patch)
treea466d4a652008ced23a68d3cba4336ddd0f711d1 /daemon.c
parent2e95d8a357ea0cce0ef11da8520863b2d4e99936 (diff)
Support VPATH builds.
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon.c b/daemon.c
index 601fc0f..00a55f6 100644
--- a/daemon.c
+++ b/daemon.c
@@ -112,10 +112,15 @@ static rpc_buffer_t ibuf, obuf;
#ifndef DEVICE
#define DEVICE "/dev/ttyUSB0"
#endif
+
#ifndef SPEED
#define SPEED B921600
#endif
+#ifndef B921600
+#define B921600 921600
+#endif
+
#ifndef SOCKET_NAME
#define SOCKET_NAME "/tmp/cryptechd.socket"
#endif