nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/configure.in b/configure.in
2index 98055b7..fff401f 100644
3--- a/configure.in
4+++ b/configure.in
5@@ -249,6 +249,11 @@ for pilot_libs in $pilot_prefix/lib /usr/lib /usr/local/lib/ /usr/local/lib64 \
6 PILOT_LIBS="-L$pilot_libs $PILOT_LIBS"
7 break
8 fi
9+ if test -r "$pilot_libs/libpisock.dylib" ; then
10+ pilotlibs=yes
11+ PILOT_LIBS="-L$pilot_libs $PILOT_LIBS"
12+ break
13+ fi
14 done
15 fi
16
17diff --git a/libsqlite.c b/libsqlite.c
18index 9557956..cf0b5ed 100644
19--- a/libsqlite.c
20+++ b/libsqlite.c
21@@ -3,10 +3,10 @@
22 Elmar Klausmeier, 20-Sep-2022: Initial revision
23 */
24
25+#define _GNU_SOURCE
26 #include <stdio.h>
27 #include <string.h>
28 #include <time.h>
29-extern char *strptime (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp) __THROW;
30 #include <sys/stat.h>
31 #include <sqlite3.h>