[PATCH v05 34/72] include/uapi/linux/errqueue.h: include linux/time.h

From: Mikko Rapeli
Date: Mon Aug 22 2016 - 14:45:06 EST


Fixes userspace compilation error:

error: array type has incomplete element type
struct timespec ts[3];

Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
---
include/uapi/linux/errqueue.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/errqueue.h b/include/uapi/linux/errqueue.h
index 07bdce1..6b1cdc6 100644
--- a/include/uapi/linux/errqueue.h
+++ b/include/uapi/linux/errqueue.h
@@ -2,6 +2,7 @@
#define _UAPI_LINUX_ERRQUEUE_H

#include <linux/types.h>
+#include <linux/time.h>

struct sock_extended_err {
__u32 ee_errno;
--
2.8.1