sys/time.h missing from linux/raid/pq.h for userspace builds

From: Jaakko Kantojärvi
Date: Thu Jul 14 2011 - 10:50:49 EST


Hi,

I beleave this is required to build linux/raid/pq.h for userspace

--- /usr/src/linux-headers-2.6.39-2-common/include/linux/raid/pq.h 2011-05-19 07:06:34.000000000 +0300
+++ /usr/src/linux-headers-2.6.39-2-common/include/linux/raid/pq.h 2011-07-14 17:10:33.000000000 +0300
@@ -35,6 +35,7 @@
#include <limits.h>
#include <stddef.h>
#include <sys/mman.h>
+#include <sys/time.h>
#include <sys/types.h>

/* Not standard, but glibc defines it */


I bleave this "bug" is still in git.

--
Jaakko Kantojärvi

System Admin
Department of Computer Science and Engineering
School of Science
Aalto University
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/