From: Jim Meyering <jim@meyering.net>
Date: Wed, 5 Apr 2000 15:08:11 +0000 (+0000)
Subject: Declare strdup.
X-Git-Tag: FILEUTILS-4_0r~43
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=e704e54e6aef6e1a319b727a1d6c847f0fec74aa;p=gnulib.git

Declare strdup.
---

diff --git a/lib/path-concat.c b/lib/path-concat.c
index fe70f757b0..ac2c8b8d51 100644
--- a/lib/path-concat.c
+++ b/lib/path-concat.c
@@ -1,5 +1,5 @@
 /* path-concat.c -- concatenate two arbitrary pathnames
-   Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -32,6 +32,7 @@
 #include <sys/types.h>
 
 char *malloc ();
+char *strdup ();
 
 #ifndef DIRECTORY_SEPARATOR
 # define DIRECTORY_SEPARATOR '/'