diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-10 08:28:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-10 08:28:38 +0000 |
commit | 3d82b922c123b835ac65e2c165a7057f7b378c0b (patch) | |
tree | 2b379aeb40bbf7bdf8bc81705132d64f88a00f4f /lib/dirname.c | |
parent | 02889673a1e6864e27558954f32d8759a860b43c (diff) | |
download | coreutils-3d82b922c123b835ac65e2c165a7057f7b378c0b.tar.xz |
Include <string.h> unconditionally.
Diffstat (limited to 'lib/dirname.c')
-rw-r--r-- | lib/dirname.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/dirname.c b/lib/dirname.c index 131af8bbd..815192a66 100644 --- a/lib/dirname.c +++ b/lib/dirname.c @@ -1,5 +1,5 @@ /* dirname.c -- return all but the last element in a path - Copyright 1990, 1998, 2000, 2001, 2003 Free Software Foundation, Inc. + Copyright (C) 1990, 1998, 2000, 2001, 2003 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 @@ -19,11 +19,9 @@ # include <config.h> #endif -#if STDC_HEADERS || HAVE_STRING_H -# include <string.h> -#endif - #include "dirname.h" + +#include <string.h> #include "xalloc.h" /* Return the length of `dirname (PATH)', or zero if PATH is |