]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: define _GNU_SOURCE to get gethostbyname_r
authorMoises Silva <moy@sangoma.com>
Tue, 21 Dec 2010 14:09:10 +0000 (09:09 -0500)
committerMoises Silva <moy@sangoma.com>
Tue, 21 Dec 2010 14:09:10 +0000 (09:09 -0500)
libs/freetdm/src/ftmod/ftmod_sangoma_boost/sangoma_boost_client.c

index 982dd4794d9b11eea46dfd839f6a290c90549a2a..6ddb74d2537e52262ac3f76011ac5ddda8945705 100644 (file)
@@ -31,6 +31,8 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#define _GNU_SOURCE
+
 #if HAVE_NETDB_H
 #include <netdb.h>
 #endif