changeset 25503:ec2492a2af6a

* mkoctfile.in.cc [CROSS]: Include <fcntl.h> for O_BINARY.
author John W. Eaton <jwe@octave.org>
date Tue, 26 Jun 2018 09:52:19 -0400
parents b1aefc73af6e
children ace13ff63b90
files src/mkoctfile.in.cc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/mkoctfile.in.cc	Mon Jun 25 16:52:37 2018 -0400
+++ b/src/mkoctfile.in.cc	Tue Jun 26 09:52:19 2018 -0400
@@ -37,9 +37,10 @@
 #include <cstdlib>
 
 #if defined (CROSS)
+#  include <fcntl.h>
+#  include <stdlib.h>
 #  include <sys/types.h>
 #  include <sys/wait.h>
-#  include <stdlib.h>
 #  include <unistd.h>
 
 #  ifndef OCTAVE_UNUSED