X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=net.c;h=88b3e3cc8aee0b2fadfd7783c763b062b8ac0d24;hb=70812d3cc48848784ea4c051fb47cdba965d2c9b;hp=2a3fc72be0ad446fa101dcbd9459107fb49f50dd;hpb=7565af270650435630bf212592286a8c6555d749;p=paraslash.git 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. */