--- freem/src/log.c 2025/01/19 02:04:04 1.1.1.1 +++ freem/src/log.c 2025/03/08 06:11:05 1.2 @@ -39,7 +39,7 @@ #include #include -#if defined(__linux__) | defined(__FreeBSD__) +#if defined(__linux__) | defined(__FreeBSD__) | defined(__sun__) # include #endif #include @@ -49,7 +49,7 @@ void m_log (int level, const char *msg) { -#if defined(__linux__) | defined(__FreeBSD__) +#if defined(__linux__) | defined(__FreeBSD__) | defined(__sun__) syslog (level, "%s", msg); #endif