Commit e608805f authored by Dave Love's avatar Dave Love
Browse files

[emacs] Test HAVE_FCNTL_H, not USG5. Include lisp.h and unistd.h.

parent 427ec082
......@@ -23,11 +23,15 @@ Boston, MA 02111-1307, USA. */
#ifdef emacs
#include <lisp.h> /* xmalloc is here */
/* Get the O_* definitions for open et al. */
#include <sys/file.h>
#ifdef USG5
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#else /* not emacs */
......@@ -313,7 +317,7 @@ tputs (str, nlines, outfun)
register int speed;
#ifdef emacs
extern baud_rate;
extern int baud_rate;
speed = baud_rate;
/* For quite high speeds, convert to the smaller
units to avoid overflow. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment