]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Go back to including <sys/types.h> rather than <stddef.h>; this is
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 1 Dec 2004 07:07:38 +0000 (07:07 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 1 Dec 2004 07:07:38 +0000 (07:07 +0000)
needed on OpenBSD since its <utmp.h> needs time_t without making sure
that time_t is defined.

lib/readutmp.h

index 6260b08f39c87fbead357129e1624263ac845f7d..491a99b2abc4167190b5ff65ee4c2e658f3eca1a 100644 (file)
@@ -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.  */