--- usr/lib/api/apiutil.c.orig 2022-04-25 11:04:51 UTC +++ usr/lib/api/apiutil.c @@ -19,11 +19,14 @@ #include #include #include +#if !defined(__FreeBSD__) #include +#endif #include #include #include #include +#include #include @@ -36,7 +39,6 @@ #include #include #include -#include static int xplfd = -1; pthread_rwlock_t xplfd_rwlock = PTHREAD_RWLOCK_INITIALIZER;