Skip to content

Commit

Permalink
FreeBSD compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict authored and benman64 committed Aug 23, 2024
1 parent ae6fcd6 commit ffb6d4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cpp/subprocess/ProcessBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#else
#include <spawn.h>
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__FreeBSD__)
#include <sys/wait.h>
#else
#include <wait.h>
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/subprocess/shell_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#else
#include <unistd.h>
#include <spawn.h>
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__FreeBSD__)
#include <sys/wait.h>
#else
#include <wait.h>
Expand Down

0 comments on commit ffb6d4b

Please sign in to comment.