aboutsummaryrefslogtreecommitdiff
path: root/login/getutid_r.c
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/getutid_r.c
parent5d2a88a70e3a40d93e7c6c821b9f22746b3a11a3 (diff)
downloadglibc-282cbdef24e6e46d665358b877bd08ba039fc819.zip
glibc-282cbdef24e6e46d665358b877bd08ba039fc819.tar.gz
glibc-282cbdef24e6e46d665358b877bd08ba039fc819.tar.bz2
Include <stdlib.h> for NULL.
Diffstat (limited to 'login/getutid_r.c')
-rw-r--r--login/getutid_r.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/login/getutid_r.c b/login/getutid_r.c
index 3d5d63d..862fc3f 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"