pkgsrc-wip/flightgear/patches/patch-src_Network_ATC-Input...

24 lines
552 B
Plaintext

$NetBSD: patch-src_Network_ATC-Inputs_cxx,v 1.1 2012/09/30 10:04:33 dholland Exp $
Fix build failure.
--- src/Network/ATC-Inputs.cxx~ 2012-08-16 14:20:57.000000000 +0000
+++ src/Network/ATC-Inputs.cxx
@@ -27,14 +27,14 @@
#include <simgear/compiler.h>
-#if defined( unix ) || defined( __CYGWIN__ )
+//#if defined( unix ) || defined( __CYGWIN__ )
# include <sys/types.h>
# include <sys/stat.h>
# include <fcntl.h>
# include <stdlib.h>
# include <unistd.h>
# include <istream>
-#endif
+//#endif
#include <errno.h>
#include <math.h>