mirror of
https://github.com/coreutils/coreutils.git
synced 2025-01-26 10:03:35 +08:00
Declare strdup.
This commit is contained in:
parent
f7cfce8952
commit
4208ee3490
@ -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 '/'
|
||||
|
Loading…
Reference in New Issue
Block a user