summaryrefslogtreecommitdiff
path: root/lib/basename.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-01-16 08:34:45 +0000
committerJim Meyering <jim@meyering.net>2001-01-16 08:34:45 +0000
commit592e22d509ad839aee0f995484baeb581d7c7906 (patch)
tree29156fd0293b34819ce16e8df5be0f7d793d5c1f /lib/basename.c
parentc8e070ed62979e80afd3cd6880f93c7875c564a6 (diff)
downloadcoreutils-592e22d509ad839aee0f995484baeb581d7c7906.tar.xz
Include <stdio.h>, needed by assert on SunOS4.
Diffstat (limited to 'lib/basename.c')
-rw-r--r--lib/basename.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/basename.c b/lib/basename.c
index 290e80e61..36e0f62b1 100644
--- a/lib/basename.c
+++ b/lib/basename.c
@@ -1,5 +1,5 @@
/* basename.c -- return the last element in a path
- Copyright (C) 1990, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1990, 1998, 1999, 2000, 2001 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,6 +19,7 @@
# include <config.h>
#endif
+#include <stdio.h>
#include <assert.h>
#ifndef FILESYSTEM_PREFIX_LEN