commit | b489a9b96d5a024e1514258807f5d65ba1c3fb49 | [log] [tgz] |
---|---|---|
author | Jack Palevich <jackpal@google.com> | Tue Sep 15 15:46:33 2009 -0700 |
committer | Jack Palevich <jackpal@google.com> | Tue Sep 15 15:46:33 2009 -0700 |
tree | bd39e91833482930392f93f751e566be6dd0f777 | |
parent | 5d8f37ad78fc66901af50c762029a501561f3b23 [diff] |
Enable sockets.c to compile with GCC 4.4 headers The GCC 4.4 version of netdb.h moves EAI_NODATA behind a __USE_GNU define, because that feature is not part of the POSIX standard for that header. In order to compile sockets.c without error under GCC 4.4 we explicitly define __USE_GNU and explicitly include netdb.h.