Re: [PATCH v4 23/79] rds.h: use __u8, __u16, __s16, __u32 and __s64 from linux/types.h

From: Sowmini Varadhan
Date: Thu Oct 15 2015 - 07:06:31 EST


On (10/15/15 07:56), Mikko Rapeli wrote:
> Date: Thu, 15 Oct 2015 07:56:01 +0200
> From: Mikko Rapeli <mikko.rapeli@xxxxxx>
> To: linux-kernel@xxxxxxxxxxxxxxx
> Cc: mikko.rapeli@xxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx>, Sowmini
> Varadhan <sowmini.varadhan@xxxxxxxxxx>, linux-api@xxxxxxxxxxxxxxx
> 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
--
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/