aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--login/getutline_r.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b9ec48c..8aa5f1f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
Fri May 24 17:30:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
+ * login/getutline_r.c: Include string.h.
+
* Rules (static-only-routines): Restore the rule to make these .so's
empty objects.
diff --git a/login/getutline_r.c b/login/getutline_r.c
index 84c77cb..8df4878 100644
--- a/login/getutline_r.c
+++ b/login/getutline_r.c
@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA. */
#include <errno.h>
#include <unistd.h>
#include <utmp.h>
+#include <string.h>
/* For implementing this function we don't use the getutent_r function