summaryrefslogtreecommitdiff
path: root/lib/canon-host.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-04-05 14:57:36 +0000
committerJim Meyering <jim@meyering.net>2000-04-05 14:57:36 +0000
commit594b06988b3627d992d8d468e13f4db5cf61a7dd (patch)
tree442ba3e3fca068d65dac68f97e4dd359f32ab65a /lib/canon-host.c
parentfaf92299a05d1d0de7a584b5b04709deba2b1462 (diff)
downloadcoreutils-594b06988b3627d992d8d468e13f4db5cf61a7dd.tar.xz
(canon_host): Declare strdup. Required for ultrix4.3.
Diffstat (limited to 'lib/canon-host.c')
-rw-r--r--lib/canon-host.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/canon-host.c b/lib/canon-host.c
index 0c7eac4f0..9d968a035 100644
--- a/lib/canon-host.c
+++ b/lib/canon-host.c
@@ -1,6 +1,6 @@
/* Host name canonicalization
- Copyright (C) 1995, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1999, 2000 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -43,6 +43,7 @@
# include <arpa/inet.h>
#endif
+char *strdup ();
void free ();
/* Returns the canonical hostname associated with HOST (allocated in a static