summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-07-29 00:17:06 +0000
committerNeil Brown <neilb@suse.de>2005-07-29 00:17:06 +0000
commitd6e5bf44e36e4f90bdb0eb8a7fa280b82b8830c9 (patch)
tree351e61513dab34898f6fe0d90d2f986f28a2a136
parent27acabbdc9ed5f50607f106e70142fcf8984fa6e (diff)
downloadmdadm-d6e5bf44e36e4f90bdb0eb8a7fa280b82b8830c9.tar.gz
mdadm-d6e5bf44e36e4f90bdb0eb8a7fa280b82b8830c9.tar.xz
mdadm-d6e5bf44e36e4f90bdb0eb8a7fa280b82b8830c9.zip
Redhat 6.2 seems to require sys/time.h as well as time.h
Thanks to "Pieter D.J. Krul" <p at krul.cc> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
-rw-r--r--mdadm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index c55f48a..f4a8d20 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -37,6 +37,7 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
#include <sys/stat.h>
#include <stdlib.h>
#include <time.h>
+#include <sys/time.h>
#include <getopt.h>
#include <fcntl.h>
#include <stdio.h>