Remove redundant include.
authorBruno Haible <bruno@clisp.org>
Fri, 27 May 2005 12:30:08 +0000 (12:30 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 27 May 2005 12:30:08 +0000 (12:30 +0000)
lib/ChangeLog
lib/getlogin_r.h

index 517f7a7534991828f7e280b91b0d7c7c8396fc59..095cd3952734a4fe70e52b1f3af295b25e365599 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-27  Bruno Haible  <bruno@clisp.org>
+
+       * getlogin_r.h: Remove second include of <stddef.h>.
+
 2005-05-25  Bruno Haible  <bruno@clisp.org>
            Derek Price  <derek@ximbiot.com>
 
index cfc9db3fb229d33540c1f1b0e6d753518538388e..88935401b87a65632bbdf6e73e106084fbd810d5 100644 (file)
 
 /* Written by Paul Eggert and Derek Price.  */
 
+#include <stddef.h>
+
 #if HAVE_UNISTD_H
 # include <unistd.h>
 #endif
 
-#if !HAVE_DECL_GETLOGIN_R
 /* Copies the user's login name to NAME.
    The array pointed to by NAME has room for SIZE bytes.
 
@@ -32,6 +33,6 @@
 
    See <http://www.opengroup.org/onlinepubs/009695399/functions/getlogin.html>.
  */
-# include <stddef.h>
+#if !HAVE_DECL_GETLOGIN_R
 int getlogin_r (char *name, size_t size);
 #endif