changeset 548:73ff02592d35

2004-9-6 Brian Masney <masneyb@gftp.org> * lib/gftp.h - make sure the _GNU_SOURCE is always defined.
author masneyb
date Wed, 08 Sep 2004 01:36:10 +0000
parents 34a3f10d8bae
children 7732e108eaac
files ChangeLog lib/gftp.h
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <masneyb@gftp.org>
+	* 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
 
--- 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