X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.c;h=88b3e3cc8aee0b2fadfd7783c763b062b8ac0d24;hp=2a3fc72be0ad446fa101dcbd9459107fb49f50dd;hb=1673dedb71f81a93e282bb09d6ae7911b82d7503;hpb=7565af270650435630bf212592286a8c6555d749 diff --git a/net.c b/net.c index 2a3fc72b..88b3e3cc 100644 --- a/net.c +++ b/net.c @@ -6,6 +6,12 @@ /** \file net.c Networking-related helper functions. */ +/* + * Since glibc 2.8, the _GNU_SOURCE feature test macro must be defined in order + * to obtain the definition of the ucred structure. + */ +#define _GNU_SOURCE + #include /* At least NetBSD needs these. */