Skip to content

Commit 7765128

Browse files
authored
Merge pull request #9598 from fabiankeil/unbreak-freebsd-build
tests: Unbreak the build on FreeBSD-based systems
2 parents cb78341 + 21f3513 commit 7765128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
#include <stdlib.h>
5454

55-
#ifdef __linux__
55+
#if defined(__linux__) || defined(__FreeBSD__)
5656
#include <unistd.h>
5757
#include <sys/wait.h>
5858
#endif

0 commit comments

Comments
 (0)