From 745352a97a140eaa58d733f762a967bb80166175 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 7 Aug 2013 01:27:33 +0200 Subject: Add sys/wait.h includes where necessary on FreeBSD --- src/peer.c | 1 + src/shell.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src') 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 +#include 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 #include +#include 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) { -- cgit v1.2.3