--- lavtools/lavrec.c.orig +++ lavtools/lavrec.c @@ -196,7 +196,9 @@ #include #include #include +#ifdef __linux #include +#endif #include #include #include @@ -1149,6 +1151,7 @@ sigset_t sigmask; pthread_t input_thread; +#ifdef __linux /* no root please (only during audio setup) */ if (getuid() != geteuid()) { @@ -1159,6 +1162,7 @@ return 0; } } +#endif info = lavrec_malloc(); info->state_changed = statechanged;