allow syscall include on FreeBSD as well

This commit is contained in:
daanx 2024-05-18 16:39:04 -07:00
parent 87c4012f13
commit 999b31fea6
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ terms of the MIT license. A copy of the license can be found in the file
#include <sys/sysctl.h>
#endif
#if defined(__linux__)
#if defined(__linux__) || defined(__FreeBSD__)
#define MI_HAS_SYSCALL_H
#include <sys/syscall.h>
#endif