Lines 1-5
Link Here
|
1 |
--- src/wtmp.c.orig 2010-07-05 09:52:50.147213835 +0200 |
1 |
--- src/wtmp.c.orig 2010-07-05 09:52:50.147213835 +0200 |
2 |
+++ src/wtmp.c 2010-07-05 09:53:25.075513542 +0200 |
2 |
+++ src/wtmp.c 2010-07-05 09:53:25.075513542 +0200 |
|
|
3 |
@@ -42,7 +42,7 @@ |
4 |
!(defined(LINUX) || defined(__hpux) || defined (_AIX)) |
5 |
/* This "auxilliary" utmp doesn't exist under linux. */ |
6 |
|
7 |
-#if defined(__sparcv9) && !defined(__NetBSD__) |
8 |
+#if defined(__sparcv9) && !defined(__NetBSD__) && !defined(__FreeBSD__) |
9 |
struct futmpx utx; |
10 |
time_t t; |
11 |
|
12 |
@@ -97,7 +97,7 @@ |
13 |
#else /* SVR4 */ |
14 |
utx.ut_syslen = strlen(utx.ut_host)+1; |
15 |
|
16 |
-# ifdef __sparcv9 |
17 |
+# ifdef __sparcv9 && !defined(__FreeBSD__) |
18 |
time(&t); |
19 |
utx.ut_tv.tv_sec = (time32_t)t; |
20 |
# else |
3 |
@@ -126,7 +126,9 @@ |
21 |
@@ -126,7 +126,9 @@ |
4 |
} |
22 |
} |