summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-05-09 20:27:54 +0000
committerJim Meyering <jim@meyering.net>2000-05-09 20:27:54 +0000
commita210d7d35c8471706c2c730d1092f944480b81fa (patch)
tree4c3c496cf062fe23ca1cc7d1c9d336cd8036a616 /src
parentb9c210715ccd1aeb0b7af255f9c03c291951a011 (diff)
downloadcoreutils-a210d7d35c8471706c2c730d1092f944480b81fa.tar.xz
Include sys/types.h in shred.c before including
sys/stat.h or system.h. From John David Anglin.
Diffstat (limited to 'src')
-rw-r--r--src/shred.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shred.c b/src/shred.c
index d192a1a33..fd04c2c14 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -85,6 +85,7 @@
#include <stdio.h>
#include <setjmp.h>
#include <signal.h>
+#include <sys/types.h>
#if HAVE_CONFIG_H
/* Default fileutils build */