diff lib/gftp.h @ 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 b2b4f5fa8fc7
line wrap: on
line diff
--- 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