summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/storecat.c7
-rw-r--r--utils/w.c3
2 files changed, 6 insertions, 4 deletions
diff --git a/utils/storecat.c b/utils/storecat.c
index f01c12c1..78280a21 100644
--- a/utils/storecat.c
+++ b/utils/storecat.c
@@ -1,7 +1,7 @@
/* Write a store to stdout
- Copyright (C) 1996, 1997 Free Software Foundation, Inc.
- Written by Miles Bader <miles@gnu.ai.mit.edu>
+ Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
+ Written by Miles Bader <miles@gnu.org>
This file is part of the GNU Hurd.
The GNU Hurd is free software; you can redistribute it and/or
@@ -19,6 +19,7 @@
59 Temple Place - Suite 330, Boston, MA 02111, USA. */
#include <unistd.h>
+#include <stdlib.h>
#include <argp.h>
#include <error.h>
@@ -54,7 +55,7 @@ main (int argc, char **argv)
char buf[4096];
void *data = buf;
size_t data_len = sizeof (buf);
-
+
err = store_read (s, addr, read, &data, &data_len);
if (err)
error (5, err, "%s", name);
diff --git a/utils/w.c b/utils/w.c
index 1ffbaaa9..ef6403aa 100644
--- a/utils/w.c
+++ b/utils/w.c
@@ -1,6 +1,6 @@
/* Hurdish w
- Copyright (C) 1995,96,97,98,99 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,98,99,2001 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <paths.h>
#include <ctype.h>