Skip to content

Commit 999b31f

Browse files
committed
allow syscall include on FreeBSD as well
1 parent 87c4012 commit 999b31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prim/unix/prim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ terms of the MIT license. A copy of the license can be found in the file
5757
#include <sys/sysctl.h>
5858
#endif
5959

60-
#if defined(__linux__)
60+
#if defined(__linux__) || defined(__FreeBSD__)
6161
#define MI_HAS_SYSCALL_H
6262
#include <sys/syscall.h>
6363
#endif

0 commit comments

Comments
 (0)