mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
33 lines
863 B
Plaintext
33 lines
863 B
Plaintext
--- xautolock.c.orig Thu Oct 30 19:41:58 1997
|
|
+++ xautolock.c Thu Mar 12 10:52:02 1998
|
|
@@ -248,6 +248,8 @@
|
|
* with vroot.h, because it needs to know the real root window.
|
|
*/
|
|
|
|
+#include <sys/param.h>
|
|
+
|
|
#if defined(hpux) || defined (__hpux)
|
|
#ifndef _HPUX_SOURCE
|
|
#define _HPUX_SOURCE
|
|
@@ -308,7 +310,9 @@
|
|
#endif /* !NOSTDHDRS */
|
|
|
|
#if !defined (apollo) && !defined (VMS)
|
|
+#if !defined (BSD)
|
|
#include <malloc.h>
|
|
+#endif /* !BSD */
|
|
#include <unistd.h>
|
|
#endif /* !apollo && !VMS */
|
|
|
|
@@ -1842,7 +1846,9 @@
|
|
#else /* VMS */
|
|
if (locker_pid)
|
|
{
|
|
-#if !defined (UTEKV) && !defined (SYSV) && !defined(SVR4)
|
|
+#if defined (BSD)
|
|
+ int status;
|
|
+#elif !defined (UTEKV) && !defined (SYSV) && !defined(SVR4)
|
|
union wait status; /* childs process status */
|
|
#else /* !UTEKV && !SYSV && !SVR4 */
|
|
int status = 0; /* childs process status */
|