]> code.delx.au - gnu-emacs/blobdiff - src/termcap.c
Emulate `readlink' for DJGPP versions before 2.04.
[gnu-emacs] / src / termcap.c
index 384b3cca3921c8f9862a3874211c5884f0f73459..69ce56d93b3d1e3fe3f4d30e77d4d7a32bd5e4fa 100644 (file)
@@ -22,9 +22,7 @@ Boston, MA 02110-1301, USA.  */
 #include <setjmp.h>
 #include <sys/file.h>
 #include <fcntl.h>
-#ifdef HAVE_UNISTD_H
 #include <unistd.h>
-#endif
 
 #include "lisp.h"
 
@@ -270,7 +268,6 @@ tputs (register char *str, int nlines, register int (*outfun) (/* ??? */))
   register int padcount = 0;
   register int speed;
 
-  extern EMACS_INT baud_rate;
   speed = baud_rate;
   /* For quite high speeds, convert to the smaller
      units to avoid overflow.  */