-/* $OpenBSD: bios.c,v 1.107 2014/11/16 12:30:57 deraadt Exp $ */
+/* $OpenBSD: bios.c,v 1.108 2015/01/17 17:44:15 tedu Exp $ */
/*
* Copyright (c) 1997-2001 Michael Shalayeff
struct smbtable bios;
volatile u_int8_t *va;
char scratch[64], *str;
- int flags, smbiosrev = 0, ncpu = 0, usingacpi = 0;
+ int flags, smbiosrev = 0, ncpu = 0;
+#if NACPI > 0
+ int usingacpi = 0;
+#endif
/* remember flags */
flags = sc->sc_dev.dv_cfdata->cf_flags;