diff options
| author | Paul Traina <pst@FreeBSD.org> | 1995-02-25 20:09:44 +0000 |
|---|---|---|
| committer | Paul Traina <pst@FreeBSD.org> | 1995-02-25 20:09:44 +0000 |
| commit | 77f77631e75f6858d00b61473e49b7c8906c5aa8 (patch) | |
| tree | 1f0482b969de4dd457ac5b450c026dcaab6317e2 /sys/dev/syscons/syscons.h | |
| parent | 686c46d225921363fb8749fd74457ecbf8a9e987 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons/syscons.h')
| -rw-r--r-- | sys/dev/syscons/syscons.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h index 546b2de63316..60cf84eb94db 100644 --- a/sys/dev/syscons/syscons.h +++ b/sys/dev/syscons/syscons.h @@ -25,9 +25,16 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: syscons.h,v 1.1 1995/02/22 13:40:21 sos Exp $ */ +/* + * The APM stuff is -not- under conditional compilation because we don't want + * the size of the scr_stat structure to vary depending upon if APM has been + * compiled in or not, that can cause utilities and lkms to crash! + */ +#include <machine/apm_bios.h> + /* vm things */ #define ISMAPPED(pa, width) \ (((pa) <= (u_long)0x1000 - (width)) \ @@ -140,9 +147,7 @@ typedef struct scr_stat { u_short *history_pos; /* position shown on screen */ u_short *history_save; /* save area index */ int history_size; /* size of history buffer */ -#if NAPM > 0 struct apmhook r_hook; /* reconfiguration support */ -#endif } scr_stat; typedef struct default_attr { |
