From: sparky4 Date: Mon, 22 Jun 2015 19:47:38 +0000 (-0500) Subject: added #include to text.h X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=d14cd13fe9b8e5af2f0f104aad7855cefac6b635;p=16.git added #include to text.h --- diff --git a/FTEST.EXE b/FTEST.EXE index 2b870a8f..6a6d9575 100644 Binary files a/FTEST.EXE and b/FTEST.EXE differ diff --git a/src/FTEST.C b/src/FTEST.C index 79055500..cb37a1be 100644 --- a/src/FTEST.C +++ b/src/FTEST.C @@ -91,7 +91,7 @@ void main(int argc, char *argv[]) SHL BX, 1 SHL BX, 1 ADD SI, BX ;the address of A - MOV CX, w + MOV CX, 16 L1: MOV AX, ES:SI MOV DS:DI, AX INC SI diff --git a/src/text.h b/src/text.h index edee47a9..74d636f9 100644 --- a/src/text.h +++ b/src/text.h @@ -27,6 +27,9 @@ */ #ifndef TEXT_H #define TEXT_H +#ifdef __WATCOMC__ +#include +#endif #include "types.h" /* font information type */