diff options
Diffstat (limited to 'src/libs/sqlite3')
-rw-r--r-- | src/libs/sqlite3/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/libs/sqlite3/sqlite3.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/libs/sqlite3/CMakeLists.txt b/src/libs/sqlite3/CMakeLists.txt new file mode 100644 index 00000000..f5211222 --- /dev/null +++ b/src/libs/sqlite3/CMakeLists.txt @@ -0,0 +1,6 @@ +##### sqlite3 library (static) + +tde_add_library( sqlite3 STATIC_PIC + SOURCES sqlite3.c + LINK ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS} +) diff --git a/src/libs/sqlite3/sqlite3.c b/src/libs/sqlite3/sqlite3.c index 45077b4b..87195d9a 100644 --- a/src/libs/sqlite3/sqlite3.c +++ b/src/libs/sqlite3/sqlite3.c @@ -249,12 +249,8 @@ /* ** Include standard header files as necessary */ -#ifdef HAVE_STDINT_H #include <stdint.h> -#endif -#ifdef HAVE_INTTYPES_H #include <inttypes.h> -#endif /* ** A macro used to aid in coverage testing. When doing coverage |