aboutsummaryrefslogtreecommitdiff
path: root/rpc_client_daemon.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2018-08-12 15:01:06 -0400
committerPaul Selkirk <paul@psgd.org>2018-08-12 15:01:06 -0400
commit7537c3a6f3c50301f220a0f1500afda904b4a2cf (patch)
tree85b68dcbfaa29116321c09aaabd27a4539b91425 /rpc_client_daemon.c
parent91658ababd0f3d902c3c40673640b6a8f90c648c (diff)
Clean up builds for *BSD/clang.
Move lm[ot]s_algorithm_t definitions to hal.h, prefix all public symbols with 'hal_'. Remove some unused functions. Wrap hal_pkey_slot_t initializers in an extra set of curly braces. Remove an unused-argument kludge (x=x;) because gcc doesn't care, and clang complains. Make timersub a proper macro. Add some casts to printf arguments, because !@#$ printf formats.
Diffstat (limited to 'rpc_client_daemon.c')
-rw-r--r--rpc_client_daemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc_client_daemon.c b/rpc_client_daemon.c
index 1c506eb..d47ac7d 100644
--- a/rpc_client_daemon.c
+++ b/rpc_client_daemon.c
@@ -37,6 +37,7 @@
#include <netinet/in.h>
#include <unistd.h>
#include <sys/un.h>
+#include <sys/socket.h>
#include "hal.h"
#include "hal_internal.h"