diff options
-rw-r--r-- | src/peer.c | 1 | ||||
-rw-r--r-- | src/shell.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -28,6 +28,7 @@ #include "task.h" #include <arpa/inet.h> +#include <sys/wait.h> static inline void on_establish(fastd_context_t *ctx, const fastd_peer_t *peer) { diff --git a/src/shell.c b/src/shell.c index e8e1cf8..aa6dccf 100644 --- a/src/shell.c +++ b/src/shell.c @@ -28,6 +28,7 @@ #include <arpa/inet.h> #include <net/if.h> +#include <sys/wait.h> bool fastd_shell_exec(fastd_context_t *ctx, const char *command, const char *dir, const fastd_peer_t *peer, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *peer_addr, int *ret) { |