changeset 12370:19ebbad32395 release-3-4-x

include <unistd.h> in octave.cc
author John W. Eaton <jwe@octave.org>
date Thu, 03 Feb 2011 16:54:48 -0500
parents e23f4609d558
children 729947aa097a
files src/ChangeLog src/octave.cc
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-03  John W. Eaton  <jwe@octave.org>
+
+	* octave.cc: Include <sys/types.h> and <unistd.h> for isatty.
+	Bug #32336.
+
 2011-02-03  Konstantinos Poulios  <logari81@googlemail.com>
 
 	* gl-render.h: (opengl_renderer::draw_axes_titles): Remove prototype.
--- a/src/octave.cc
+++ b/src/octave.cc
@@ -34,6 +34,8 @@
 #include <iostream>
 
 #include <getopt.h>
+#include <sys/types.h>
+#include <unistd.h>
 
 #include "cmd-edit.h"
 #include "f77-fcn.h"