blob: c10821e552d35381c44388941ecbf7700a5376e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
*** xautolock.c.orig Sat Jul 20 17:32:41 1996
--- xautolock.c Sat Jul 20 17:56:41 1996
***************
*** 196,201 ****
--- 196,203 ----
* 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
***************
*** 235,241 ****
--- 237,247 ----
#endif /* !NOSTDHDRS */
#if !defined (apollo) && !defined (VMS)
+
+ #if !defined (BSD)
#include <malloc.h>
+ #endif /* !BSD */
+
#include <unistd.h>
#endif /* !apollo && !VMS */
***************
*** 1587,1593 ****
#else /* VMS */
if (locker_pid)
{
! #if !defined (UTEKV) && !defined (SYSV) && !defined(SVR4)
union wait status; /* childs process status */
#else /* !UTEKV && !SYSV && !SVR4 */
int status; /* childs process status */
--- 1593,1602 ----
#else /* VMS */
if (locker_pid)
{
!
! #if defined (BSD)
! int status;
! #elif !defined (UTEKV) && !defined (SYSV) && !defined(SVR4)
union wait status; /* childs process status */
#else /* !UTEKV && !SYSV && !SVR4 */
int status; /* childs process status */
|