diff --git a/modules/database_sqlite/sqlite/sqlite3.c b/modules/database_sqlite/sqlite/sqlite3.c index 2886d04ae..9918449b9 100644 --- a/modules/database_sqlite/sqlite/sqlite3.c +++ b/modules/database_sqlite/sqlite/sqlite3.c @@ -168,7 +168,9 @@ #else /* This is not VxWorks. */ #define OS_VXWORKS 0 +#ifndef SQLITE_NO_FCHOWN #define HAVE_FCHOWN 1 +#endif #define HAVE_READLINK 1 #define HAVE_LSTAT 1 #endif /* defined(_WRS_KERNEL) */