- (bal) Patch for OpenSC SmartCard library; ok markus@; patch by
   Juha Yrjölä <jyrjola@cc.hut.fi>
 - (bal) Minor documentation update to reflect smartcard library
   support changes.
diff --git a/scard.c b/scard.c
index de53f9d..db0cc4a 100644
--- a/scard.c
+++ b/scard.c
@@ -23,7 +23,7 @@
  */
 
 #include "includes.h"
-#ifdef SMARTCARD
+#if defined(SMARTCARD) && defined(USE_SECTOK)
 RCSID("$OpenBSD: scard.c,v 1.25 2002/03/26 18:46:59 rees Exp $");
 
 #include <openssl/evp.h>
@@ -554,4 +554,4 @@
 		sectok_close(fd);
 	return (status);
 }
-#endif /* SMARTCARD */
+#endif /* SMARTCARD && USE_SECTOK */