]>
Commit | Line | Data |
---|---|---|
bb06766b JB |
1 | --- rxvt-unicode-7.9/ptytty.m4.orig 2006-02-07 06:31:56.000000000 +0100 |
2 | +++ rxvt-unicode-7.9/ptytty.m4 2006-08-09 23:40:54.364272500 +0200 | |
3 | @@ -214,6 +214,7 @@ | |
4 | dnl# find utmp | |
5 | AC_CACHE_CHECK(where utmp is located, path_utmp, | |
6 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> | |
7 | +#include <stdlib.h> | |
8 | #include <sys/types.h> | |
9 | #include <utmp.h> | |
10 | #include <errno.h> | |
11 | @@ -250,6 +251,7 @@ | |
12 | dnl# a day newer, then dump the utmpx. People leave lots of junk around. | |
13 | AC_CACHE_CHECK(where utmpx is located, path_utmpx, | |
14 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> | |
15 | +#include <stdlib.h> | |
16 | #include <sys/types.h> | |
17 | #include <utmpx.h> | |
18 | #include <errno.h> | |
19 | @@ -295,6 +297,7 @@ | |
20 | dnl# find wtmp | |
21 | AC_CACHE_CHECK(where wtmp is located, path_wtmp, | |
22 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> | |
23 | +#include <stdlib.h> | |
24 | #include <sys/types.h> | |
25 | #ifdef HAVE_UTMP_H | |
26 | #include <utmp.h> | |
27 | @@ -331,6 +334,7 @@ | |
28 | dnl# find wtmpx | |
29 | AC_CACHE_CHECK(where wtmpx is located, path_wtmpx, | |
30 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> | |
31 | +#include <stdlib.h> | |
32 | #ifdef HAVE_UTMPX_H | |
33 | #include <utmpx.h> | |
34 | #endif | |
35 | @@ -366,6 +370,7 @@ | |
36 | dnl# find lastlog | |
37 | AC_CACHE_CHECK(where lastlog is located, path_lastlog, | |
38 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> | |
39 | +#include <stdlib.h> | |
40 | #include <sys/types.h> | |
41 | #ifdef HAVE_UTMPX_H | |
42 | #include <utmpx.h> | |
43 | @@ -409,6 +414,7 @@ | |
44 | dnl# find lastlogx | |
45 | AC_CACHE_CHECK(where lastlogx is located, path_lastlogx, | |
46 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> | |
47 | +#include <stdlib.h> | |
48 | #ifdef HAVE_UTMPX_H | |
49 | #include <utmpx.h> | |
50 | #endif |