]> 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:20:37 +0000 (00:20 +0000)
committerNeil Brown <neilb@suse.de>
Fri, 29 Jul 2005 00:20:37 +0000 (00:20 +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 ac3feb13a00da9e3b479d9ab2127855b80be0e26..4ad4d47dcf8375c1a5206ae5e0e3b65dd43fa10c 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>