From 4af7520647320c6cab6588e41bbf7224548b0561 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 20 Aug 2005 23:04:35 +0000 Subject: [project @ 2005-08-20 23:04:35 by bursa] Fix strndup() warnings. svn path=/import/netsurf/; revision=1850 --- utils/utf8.c | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/utf8.c') diff --git a/utils/utf8.c b/utils/utf8.c index 56a1dab3a..a68d3c807 100644 --- a/utils/utf8.c +++ b/utils/utf8.c @@ -9,6 +9,7 @@ * UTF-8 manipulation functions (implementation). */ +#define _GNU_SOURCE /* for strndup */ #include #include #include -- cgit v1.2.3