# HG changeset patch # User masneyb # Date 1094607370 0 # Node ID 73ff02592d35af9e8fa12d4853278987468ee753 # Parent 34a3f10d8baeaee1aa69eb125bb738dfdacdba8c 2004-9-6 Brian Masney * lib/gftp.h - make sure the _GNU_SOURCE is always defined. diff -r 34a3f10d8bae -r 73ff02592d35 ChangeLog --- a/ChangeLog Wed Sep 08 00:34:15 2004 +0000 +++ b/ChangeLog Wed Sep 08 01:36:10 2004 +0000 @@ -1,4 +1,6 @@ 2004-9-6 Brian Masney + * lib/gftp.h - make sure the _GNU_SOURCE is always defined. + * lib/gftp.h lib/misc.c lib/protocols.c lib/rfc959.c - fixes for hosts that have IPv6 and IPv4 hostnames and a IPv6 connection cannot be made @@ -2807,7 +2809,7 @@ * cvsclean - added this script - * *.[ch] - added $Id: ChangeLog,v 1.318 2004/09/08 00:34:15 masneyb Exp $ tags + * *.[ch] - added $Id: ChangeLog,v 1.319 2004/09/08 01:36:10 masneyb Exp $ tags * debian/* - updated files from Debian maintainer diff -r 34a3f10d8bae -r 73ff02592d35 lib/gftp.h --- a/lib/gftp.h Wed Sep 08 00:34:15 2004 +0000 +++ b/lib/gftp.h Wed Sep 08 01:36:10 2004 +0000 @@ -22,6 +22,10 @@ #ifndef __GFTP_H #define __GFTP_H +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif + #ifdef HAVE_CONFIG_H #include "config.h" #endif