void-packages/srcpkgs/xautolock/patches/fix-wait_status.patch
Jürgen Buchmüller 2dff594dd5 xautlock: fix build
2017-01-25 15:01:13 +01:00

14 lines
462 B
Diff

--- src/engine.c 2007-12-28 18:15:26.000000000 +0100
+++ src/engine.c 2017-01-25 14:48:00.087399865 +0100
@@ -210,11 +210,7 @@
#else /* VMS */
if (lockerPid)
{
-#if !defined (UTEKV) && !defined (SYSV) && !defined (SVR4)
- union wait status; /* childs process status */
-#else /* !UTEKV && !SYSV && !SVR4 */
int status = 0; /* childs process status */
-#endif /* !UTEKV && !SYSV && !SVR4 */
if (unlockNow && !disabled)
{