Fix compile errors with musl

Tested on RK3588 EVB with musl-1.2.2 and gcc-10.2.

Change-Id: I10574446f46964bad5e67ab45c76060a193b8335
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
Jeffy Chen
2022-05-26 09:05:28 +08:00
committed by Herman Chen
parent 5dccad43d4
commit 0f0d28c2ec
7 changed files with 9 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
#if defined(__gnu_linux__)
#if defined(linux) && !defined(__ANDROID__)
#include <stdio.h>
#include <stdarg.h>
#include <syslog.h>