summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-12-01 07:07:38 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-12-01 07:07:38 +0000
commit52a0364803e279e98b3afd0cfc8dbf8b5afa2c78 (patch)
tree6b381e9936b4e68fc1521ed73245bdbf16c3b86c /lib
parent5528311c08fcf6477b54548d7cf4c6650b2b4f28 (diff)
downloadcoreutils-52a0364803e279e98b3afd0cfc8dbf8b5afa2c78.tar.xz
Go back to including <sys/types.h> rather than <stddef.h>; this is
needed on OpenBSD since its <utmp.h> needs time_t without making sure that time_t is defined.
Diffstat (limited to 'lib')
-rw-r--r--lib/readutmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/readutmp.h b/lib/readutmp.h
index 6260b08f3..491a99b2a 100644
--- a/lib/readutmp.h
+++ b/lib/readutmp.h
@@ -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. */