From: James Turner Date: Sat, 16 Nov 2013 09:31:18 +0000 (+0000) Subject: Fix Linux build X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2bff8d222017ae5f0c57e5090c1ee72fdd343109;p=flightgear.git Fix Linux build Linux needs explicit includes for open() and flags. --- diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index f478098b5..f24c0f528 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -36,6 +36,11 @@ # include // _getpid() # include # define isatty _isatty +#else +// for open() and options +# include +# include +# include #endif #include