summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 01:27:33 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 01:27:33 +0200
commit745352a97a140eaa58d733f762a967bb80166175 (patch)
tree0304aa597b7c9d25156e9b237107a542f3689993 /src
parent61fcc0c2ce481ac445ae323ee8997b737cc55deb (diff)
downloadfastd-745352a97a140eaa58d733f762a967bb80166175.tar
fastd-745352a97a140eaa58d733f762a967bb80166175.zip
Add sys/wait.h includes where necessary on FreeBSD
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) {