Re: [PATCH] include linux/types.h in if_fddi.h

From: Maciej W. Rozycki
Date: Thu Aug 09 2007 - 13:28:31 EST


On Thu, 9 Aug 2007, Olaf Hering wrote:

> include/linux/if_fddi.h is an exported header.
> It uses __be16. Include linux/types.h to get this prototype.

Please note that for userland it does not matter. With glibc you should
include <netinet/if_fddi.h> which does the necessary bits before including
<linux/if_fddi.h>. Any other C library should likely take a similar
approach.

It still seems right for Linux itself though.

Maciej
-
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/