summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/peer.c1
-rw-r--r--src/shell.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/peer.c b/src/peer.c
index fd0b739..95f3514 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -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) {