summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-07-29 00:20:37 +0000
committerNeil Brown <neilb@suse.de>2005-07-29 00:20:37 +0000
commit11018a4592680d0d9312c21bf7689bc8db55a609 (patch)
treea300cc757994ec5c04090c7b04381b89545f086b
parent699f98994969ef46c1ad19f035c196744f3d65b9 (diff)
downloadmdadm-11018a4592680d0d9312c21bf7689bc8db55a609.tar.gz
mdadm-11018a4592680d0d9312c21bf7689bc8db55a609.tar.xz
mdadm-11018a4592680d0d9312c21bf7689bc8db55a609.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 ac3feb1..4ad4d47 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>