lkml.org 
[lkml]   [2016]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v05 34/72] include/uapi/linux/errqueue.h: include linux/time.h
    Date
    Fixes userspace compilation error:

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

    Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
    ---
    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
    \
     
     \ /
      Last update: 2016-09-17 09:57    [W:4.022 / U:0.092 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site