summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-06-04 09:09:39 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-06-04 09:09:39 +0000
commit6ab5b2599936838084073e9a3cf986447b12f995 (patch)
tree296b585beb63605ac6238d6d37e4659c8da0aa26 /lib
parent781cd5b40770230ad95deb43aa78a2c731740d90 (diff)
fix autodetection, somehow I managed to lose that commit earlier ?
(brad reminded me we have strerror_r too).
Diffstat (limited to 'lib')
-rw-r--r--lib/libsqlite3/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libsqlite3/Makefile b/lib/libsqlite3/Makefile
index 01506e7091d..23d4cc3a707 100644
--- a/lib/libsqlite3/Makefile
+++ b/lib/libsqlite3/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2012/04/22 23:22:52 espie Exp $
+# $OpenBSD: Makefile,v 1.6 2012/06/04 09:09:38 espie Exp $
.include <bsd.own.mk>
@@ -43,7 +43,10 @@ FEATURE_FLAGS = -DSQLITE_ENABLE_COLUMN_METADATA \
CPPFLAGS += $(FEATURE_FLAGS) -DSQLITE_THREADSAFE=1 \
-DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 \
- -DHAVE_LOCALTIME_R \
+ -DHAVE_GMTIME_R=1 \
+ -DHAVE_LOCALTIME_R=1 \
+ -DHAVE_USLEEP=1 \
+ -DHAVE_STRERROR_R=1 \
-DSQLITE_TEMP_STORE=1 \
-DSQLITE_SOUNDEX=1 \
-DSQLITE_HAVE_ISNAN=1 \