Include <stdlib.h> for NULL.
authorAndreas Jaeger <aj@suse.de>
Tue, 13 Feb 2001 10:53:46 +0000 (10:53 +0000)
committerAndreas Jaeger <aj@suse.de>
Tue, 13 Feb 2001 10:53:46 +0000 (10:53 +0000)
login/getutent_r.c
login/getutid_r.c

index b8f17ee..2494847 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,1998,2000,2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>
    and Paul Janzen <pcj@primenet.com>, 1996.
@@ -19,6 +19,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <bits/libc-lock.h>
+#include <stdlib.h>
 #include <utmp.h>
 
 #include "utmp-private.h"
index 3d5d63d..862fc3f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>
    and Paul Janzen <pcj@primenet.com>, 1996.
@@ -18,8 +18,9 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <errno.h>
 #include <bits/libc-lock.h>
+#include <errno.h>
+#include <stdlib.h>
 #include <utmp.h>
 
 #include "utmp-private.h"