Mercurial > hg > octave-lyh
diff src/input.cc @ 1350:5f63d83dd694
[project @ 1995-09-05 07:37:59 by jwe]
author | jwe |
---|---|
date | Tue, 05 Sep 1995 07:47:12 +0000 |
parents | 33cf1f36aec6 |
children | 19c10b8657d5 |
line wrap: on
line diff
--- a/src/input.cc +++ b/src/input.cc @@ -47,12 +47,13 @@ #include <iostream.h> #include <strstream.h> +#ifdef HAVE_UNISTD_H #include <sys/types.h> -#ifdef HAVE_UNISTD_H #include <unistd.h> #endif // This must come before anything that includes iostream.h... +// (This is apparently no longer true...) extern "C" { #include "readline/readline.h" @@ -64,6 +65,7 @@ // Yes, this sucks, but it avoids a conflict with another readline // function declared in iostream.h. +// (Apparently, there isn't one there now...) #if 0 #define LINE_SIZE 8192