summaryrefslogtreecommitdiff
path: root/src/truncate.c
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2011-06-11 16:28:34 +0100
committerJim Meyering <meyering@redhat.com>2011-06-13 12:39:22 +0200
commit5a3879ad03ff926e504b48694d8e589089154369 (patch)
treecda0d0b41e35264578a58d04cb01cd9d44c73a8b /src/truncate.c
parente4feb5c03bb4122344050efe75325d432db5791c (diff)
downloadcoreutils-5a3879ad03ff926e504b48694d8e589089154369.tar.xz
maint: use stat-size module from gnulib
* gnulib: Update to latest. * src/system.h: Definitions of ST_* macros have moved into the gnulib module stat-size (specifically, the header file stat-size.h), so remove them from here. * src/truncate.c: Include stat-size.h. * src/stat.c: Likewise. * src/shred.c: Likewise. * src/ls.c: Likewise. * src/du.c: Likewise. * src/ioblksize.h: New file. Move definition of io_blksize out of system.h so that system.h does not have to include stat-size.h. * src/cat.c: Include ioblksize.h. * src/split.c: Likewise. * src/copy.c: Include both stat-size.h and ioblksize.h. * src/Makefile.am (noinst_HEADERS): Add ioblksize.h.
Diffstat (limited to 'src/truncate.c')
-rw-r--r--src/truncate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/truncate.c b/src/truncate.c
index b6c776273..eaa1b74f0 100644
--- a/src/truncate.c
+++ b/src/truncate.c
@@ -28,6 +28,7 @@
#include "system.h"
#include "error.h"
#include "quote.h"
+#include "stat-size.h"
#include "xstrtol.h"
/* The official name of this program (e.g., no `g' prefix). */