diff options
Diffstat (limited to 'games/flightgear/patches/patch-src_Input_fgjs.cxx')
-rw-r--r-- | games/flightgear/patches/patch-src_Input_fgjs.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/games/flightgear/patches/patch-src_Input_fgjs.cxx b/games/flightgear/patches/patch-src_Input_fgjs.cxx new file mode 100644 index 00000000000..19c77a36fd4 --- /dev/null +++ b/games/flightgear/patches/patch-src_Input_fgjs.cxx @@ -0,0 +1,15 @@ +$NetBSD: patch-src_Input_fgjs.cxx,v 1.1 2021/03/01 09:00:33 nia Exp $ + +Include missing header for gethostname(3). + +--- src/Input/fgjs.cxx.orig 2021-01-23 18:03:04.000000000 +0000 ++++ src/Input/fgjs.cxx +@@ -30,6 +30,8 @@ + + #ifdef _WIN32 + # include <winsock2.h> ++#else ++# include <unistd.h> + #endif + + #include <cmath> |