lkml.org 
[lkml]   [2015]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v4 23/79] rds.h: use __u8, __u16, __s16, __u32 and __s64 from linux/types.h
    On (10/15/15 07:56), Mikko Rapeli wrote:
    > Date: Thu, 15 Oct 2015 07:56:01 +0200
    > From: Mikko Rapeli <mikko.rapeli@iki.fi>
    > To: linux-kernel@vger.kernel.org
    > Cc: mikko.rapeli@iki.fi, "David S. Miller" <davem@davemloft.net>, Sowmini
    > Varadhan <sowmini.varadhan@oracle.com>, linux-api@vger.kernel.org
    > Subject: [PATCH v4 23/79] rds.h: use __u8, __u16, __s16, __u32 and __s64
    > from linux/types.h
    > X-Mailer: git-send-email 2.6.1
    >
    > Fixes userspace compilation errors like:
    >
    > linux/rds.h:96:2: error: unknown type name ‘uint8_t’

    Can't you just include <stdint.h> in linux/rds.h? (similar to the
    fix for linux/rds)? It would reduce the deltas significantly,
    and portable applications are likely to expect uint8_t etc anyway.

    --Sowmini


    \
     
     \ /
      Last update: 2015-10-15 13:21    [W:2.500 / U:0.088 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site