aboutsummaryrefslogtreecommitdiff
path: root/login
diff options
context:
space:
mode:
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 b8f17ee..2494847 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 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"