lkml.org 
[lkml]   [2015]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 38/45] include/uapi/linux/agpgart.h: include stdlib.h in userspace
    Date
    Fixes userspace compiler error:
    error: unknown type name ‘size_t’

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

    diff --git a/include/uapi/linux/agpgart.h b/include/uapi/linux/agpgart.h
    index 4e828cf..f525104 100644
    --- a/include/uapi/linux/agpgart.h
    +++ b/include/uapi/linux/agpgart.h
    @@ -52,6 +52,7 @@

    #ifndef __KERNEL__
    #include <linux/types.h>
    +#include <stdlib.h>

    struct agp_version {
    __u16 major;
    --
    2.1.4


    \
     
     \ /
      Last update: 2015-02-17 00:21    [W:3.534 / U:0.700 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site