diff options
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/cbr/cbr_server.c | 5 | ||||
-rw-r--r-- | src/tools/irm/irm_ipcp_bootstrap.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/tools/cbr/cbr_server.c b/src/tools/cbr/cbr_server.c index 3a1d8d5c..9c6ac7f1 100644 --- a/src/tools/cbr/cbr_server.c +++ b/src/tools/cbr/cbr_server.c @@ -22,6 +22,11 @@ */ #include <stdbool.h> + +#ifdef __FreeBSD__ +#define __XSI_VISIBLE +#endif + #include <signal.h> #include <unistd.h> #include <stdlib.h> diff --git a/src/tools/irm/irm_ipcp_bootstrap.c b/src/tools/irm/irm_ipcp_bootstrap.c index c2b696e4..94b7f81e 100644 --- a/src/tools/irm/irm_ipcp_bootstrap.c +++ b/src/tools/irm/irm_ipcp_bootstrap.c @@ -24,7 +24,9 @@ #include <stdlib.h> #include <string.h> #include <arpa/inet.h> - +#ifdef __FreeBSD__ +#include <sys/socket.h> +#endif #include <ouroboros/irm.h> #include <ouroboros/irm_config.h> |