diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-08-07 01:27:33 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-08-07 01:27:33 +0200 |
commit | 745352a97a140eaa58d733f762a967bb80166175 (patch) | |
tree | 0304aa597b7c9d25156e9b237107a542f3689993 /src | |
parent | 61fcc0c2ce481ac445ae323ee8997b737cc55deb (diff) | |
download | fastd-745352a97a140eaa58d733f762a967bb80166175.tar fastd-745352a97a140eaa58d733f762a967bb80166175.zip |
Add sys/wait.h includes where necessary on FreeBSD
Diffstat (limited to 'src')
-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) { |