make scache dependant on sqlite
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 26 Oct 2008 18:27:24 +0000 (18:27 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 26 Oct 2008 18:27:24 +0000 (18:27 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23993 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/krb5/scache.c

index a72a70370df51b5640148485bb63bfe874cd4608..c965f00c9c9c8325a1e8bf83a25f92969bc81c09 100644 (file)
@@ -32,6 +32,9 @@
  */
 
 #include "krb5_locl.h"
+
+#ifdef HAVE_SQLITE
+
 #include <sqlite3.h>
 
 RCSID("$Id$");
@@ -1426,3 +1429,5 @@ KRB5_LIB_VARIABLE const krb5_cc_ops krb5_scc_ops = {
     scc_get_default_name,
     scc_set_default
 };
+
+#endif