summary refs log tree commit diff
path: root/login
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-02-13 10:53:46 +0000
committerAndreas Jaeger <aj@suse.de>2001-02-13 10:53:46 +0000
commit282cbdef24e6e46d665358b877bd08ba039fc819 (patch)
tree6a5be98c3acc39607cf6f97d1b33c9c7a0d0a8fe /login
parent5d2a88a70e3a40d93e7c6c821b9f22746b3a11a3 (diff)
downloadglibc-282cbdef24e6e46d665358b877bd08ba039fc819.tar.gz
glibc-282cbdef24e6e46d665358b877bd08ba039fc819.tar.xz
glibc-282cbdef24e6e46d665358b877bd08ba039fc819.zip
Include <stdlib.h> for NULL.
Diffstat (limited to 'login')
-rw-r--r--login/getutent_r.c3
-rw-r--r--login/getutid_r.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/login/getutent_r.c b/login/getutent_r.c
index b8f17eead4..2494847141 100644
--- a/login/getutent_r.c
+++ b/login/getutent_r.c
@@ -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"
diff --git a/login/getutid_r.c b/login/getutid_r.c
index 3d5d63de29..862fc3f44b 100644
--- a/login/getutid_r.c
+++ b/login/getutid_r.c
@@ -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"