[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
readutmp.h fix for OpenBSD 3.4
From: |
Paul Eggert |
Subject: |
readutmp.h fix for OpenBSD 3.4 |
Date: |
Tue, 30 Nov 2004 23:08:34 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
My recent change to readutmp.h was a bit too aggressive, since OpenBSD
3.4 requires that time_t be defined before you can include <utmp.h>.
I installed the following to revert that part of the change.
2004-11-30 Paul Eggert <address@hidden>
* lib/readutmp.h: Include <sys/types.h> rather than <stddef.h>,
reverting that part of today's change.
--- lib/readutmp.h 30 Nov 2004 21:39:46 -0000 1.17
+++ lib/readutmp.h 1 Dec 2004 07:07:38 -0000 1.18
@@ -22,7 +22,7 @@
#ifndef __READUTMP_H__
# define __READUTMP_H__
-# include <stddef.h>
+# include <sys/types.h>
/* AIX 4.3.3 has both utmp.h and utmpx.h, but only struct utmp
has the ut_exit member. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- readutmp.h fix for OpenBSD 3.4,
Paul Eggert <=