]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Redhat 6.2 seems to require sys/time.h as well as time.h
authorNeil Brown <neilb@suse.de>
Fri, 29 Jul 2005 00:17:06 +0000 (00:17 +0000)
committerNeil Brown <neilb@suse.de>
Fri, 29 Jul 2005 00:17:06 +0000 (00:17 +0000)
Thanks to  "Pieter D.J. Krul" <p at krul.cc>

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
mdadm.h

diff --git a/mdadm.h b/mdadm.h
index c55f48af045148e7045eb18bff4679e2a49cad11..f4a8d20c6c3cd752c6a3f6eeed32ed8994e733a0 100644 (file)
--- 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>