about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/science/astronomy/openspace/vrpn.patch
blob: 9386d0257b7f80a1628d6ad38e2becf5cc9626a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/ext/sgct/src/deps/vrpn/vrpn_Connection.C b/ext/sgct/src/deps/vrpn/vrpn_Connection.C
index d6ffdc5..f90a2b2 100755
--- a/ext/sgct/src/deps/vrpn/vrpn_Connection.C
+++ b/ext/sgct/src/deps/vrpn/vrpn_Connection.C
@@ -2489,7 +2489,7 @@ static int vrpn_start_server(const char *machine, char *server_name, char *args,
 #if defined(sparc) || defined(FreeBSD) || defined(_AIX) || defined(__ANDROID__)
             int status; // doesn't exist on sparc_solaris or FreeBSD
 #else
-            union wait status;
+            int status;
 #endif
 
             /* Check to see if they called back yet. */